Transcription of SyntaxDescriptionRemarks and examplesAlso see
{{id}} {{{paragraph}}}
macro definition and manipulationSyntaxDescriptionRemarks and examplesAlso seeSyntaxglobalmname[=exp|:extendedfcn|" [string]"| "[string]" ]locallclname[=exp|:extendedfcn|"[string ]"| "[string]" ]tempvarlclname[lclname[..]]tempnamelcln ame[lclname[..]]tempfilelclname[lclname[ ..]]local{++lclname|--lclname} macro dirmacro drop{mname[mname[..]]|mname*|all} macro list[mname[mname[..]]|all] macro shift[#][..] expansionoptr [..]whereexpansionoptrislclname|++lclnam e|lclname++|--lclname|lclname--|=exp|:ex tendedfcn|.classdirective|macval(lclname )and whereextendedfcnis any of the following: macro extended function for extracting program propertiespropertiescommand12 macro macro definition and manipulationMacro extended functions for extracting data attributes{type|format|value label|variable label}varnamedata labelsortedbylabel{valuelabelname|(varna me)}{maxlength|#[#2]}[, strict]constraint{#|dir}char{varname[ ]|varname[charname]}orchar{dta[ ]|dta[charname]} macro extended function for naming variablespermnam
Title stata.com macro — Macro definition and manipulation SyntaxDescriptionRemarks and examplesAlso see Syntax global mname =exp j:extended fcn j" string" j‘" string"’ local lclname
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}