PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: confidence

Title stata.com gettoken — Low-level parsing

Low-level parsingSyntaxDescriptionOptionsRemarks and examplesAlso seeSyntaxgettokenemname1[emname2]:emname 3[, parse("pchars") quotesqed(lmacname) match(lmacname) bind]wherepcharsare the parsing characters,lmacnameis a local macro name, andemnameis describedin the following to macro(local)macronamelocal macro(global)macronameglobal macroDescriptiongettokenis a Low-level parsing command designed for programmers who wish to parse input forthemselves. Thesyntaxcommand (see [P]syntax) is an easier-to-use, high-level parsing the next token from the macroemname3and stores it in the macroemname2is specified, the rest of the string fromemname3is stored in , oremname2andemname3, may be the same name. The first token isdetermined based on the parsing characterspchars, which default to a space if not ("pchars")specifies the parsing characters. Ifparse()is not specified,parse(" ")isassumed, meaning that tokens are identified by that the outside quotes are not to be stripped in what is stored inemname1.

2gettoken— Low-level parsing Remarks and examples stata.com Often we apply gettoken to the macro ‘0’ (see [U] 18.4.6 Parsing nonstandard syntax), as in gettoken first : 0 which obtains the first token (with spaces as token delimiters) from ‘0’ and leaves ‘0’ unchanged.

Loading..

Tags:

  Parsing

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Title stata.com gettoken — Low-level parsing

Related search queries