[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
"Gabi Huiber" <ghuiber@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: RE: RE: RE: RE: RE: List of ALL Commands |

Date |
Fri, 19 Sep 2008 16:49:44 -0400 |

Having recently converted to using Notepad++ for editing my do-files, I am sympathetic to Sergiy's quest for a comprehensive list for the purpose of syntax highlighting. I wonder if we could make it a community effort on somebody's website. We could start with whatever getcmds turns up and add to the list as fancy strikes. With enough participation, it might fill up pretty quickly. Whatever word anybody tried to add to the list would go through two checks: first, a simple duplicate check to ensure that it's not there already; and second, if the first check is passed, a tweak on Stata's "search" command to ensure that it's legitimate. This tweak would return 1 and allow the addition if "search <word>, exact" turned up a non-zero list of references -- e.g. search boxcox, exact -- or 0 and reject the addition otherwise. Or we can base this check on the "which" command, I don't know. But my own biggest syntax highlighting concern isn't the command list. I can add to that as my vocabulary expands. Rather, it's the proper matching of delimiters. Nested macros like ${${foo}bar} or matrix references like matrix[`i',`j'] -- as opposed to matrix[`i', `j'] with a blank after the comma -- will throw off my Stata language definition sheet (a work in progress based on the one Keith Kranker wrote). Gabi * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**RE: st: RE: RE: RE: RE: RE: List of ALL Commands***From:*"Martin Weiss" <martin.weiss1@gmx.de>

**References**:**st: List of ALL Commands***From:*"Raphael Fraser" <raphael.fraser@gmail.com>

**st: RE: List of ALL Commands***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**st: RE: RE: RE: List of ALL Commands***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**st: RE: RE: RE: RE: RE: List of ALL Commands***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

- Prev by Date:
**RE: st: RE: RE: RE: RE: RE: List of ALL Commands** - Next by Date:
**RE: st: RE: RE: RE: RE: RE: List of ALL Commands** - Previous by thread:
**RE: st: RE: RE: RE: RE: RE: List of ALL Commands** - Next by thread:
**RE: st: RE: RE: RE: RE: RE: List of ALL Commands** - Index(es):

© Copyright 1996–2014 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |