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

st: How to create a local from [, options]

From   [email protected]
To   [email protected]
Subject   st: How to create a local from [, options]
Date   Sun, 30 Sep 2007 14:05:09 -0300 (BRT)

Dear Statalisters,

Assume that I have a program with the following syntax:

myprogram var1 var2 var3 var4, option1 option2 option3

tokenize can be used to get locals from  `varlist'. However, is there a
way to create a local from [, options]? For example, I would like to
create a local from option3, which will be different for each person...
say... option3 might be the option by(). It is important to note that I do
not need to write a program with -byable (recall)-, because part of my
program will do its calculation based on other programs, which have
already the option -by-.


*   For searches and help try:

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