[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Function that returns variable type (string, etc.)?
-format- is a matter of presentation, not contents.
-search type- points (among other things) to
-help macro- and that in turn to -help extended_fcn-
and
{local | global} macname : type varname
See also help for -ds-, which at the cost of
some interpretative overhead, gives you other tools
in this territory.
Nick
[email protected]
Rachel
> I'm looking for a function that returns the type of a given variable.
> Specifically, I'd like to know if each variable in a list is a string
> or not.
>
> This seems fairly obvious, but I couldn't find it in the documentation
> under "Format" or any of the related entries.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/