Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Programming question

From   "S Mahmud" <>
To   <>
Subject   st: Programming question
Date   Wed, 26 Jun 2002 14:37:54 +0100

If you write:

program define myprog
   version 7
   syntax [varlist]

Stata validates the list of the variable names passed by the user and
complains if a variable does not exist e.g.

. myprog  unknownvar
variable unknownvar not found

However, the insheet internal command apparently allows the user to enter a
list of names for non-existing variables without a problem. Is it possible
to do the same thing from an ado command? And how?



*   For searches and help try:

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