Statalist The Stata Listserver


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

Re: st: Function that returns variable type (string, etc.)?


From   Richard Goldstein <richgold@ix.netcom.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Function that returns variable type (string, etc.)?
Date   Fri, 17 Nov 2006 10:16:41 -0500

try looking up "type" under extended macro functions (under macro)

Rich

Rachel wrote:
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.

Thanks,
Rachel
*
*   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/



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