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

st: [programming] using -if- in do file

From   "FEIVESON, ALAN H. (AL) (JSC-SD) (NASA)" <[email protected]>
To   "'statalist'" <[email protected]>
Subject   st: [programming] using -if- in do file
Date   Thu, 12 Dec 2002 09:51:17 -0600

Hello - Is there a way to restrict observations over which a do-file
operates without using the -syntax- command? The syntax command allows [if]
and [in] options, but is extremely picky about using numbers or non existent
variable names in the argument list. Therefore I'd rather check for the -if-
condition directly. I assume there must be some system macro which stores
the -if- or -in- condition. How can I get it without using -syntax- ?

Al Feiveson
*   For searches and help try:

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