Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: local command with blanks

From   Kamyar Baradaran <>
Subject   st: local command with blanks
Date   Mon, 27 Dec 2010 16:59:10 +0100

Dear All,

How can I create a local variable when I have blanks. I would like to
have such a thing:
local year_criteria    " "year < 2000 & age == 1" "yea r< 2002  & age == 2" "
I would like to use it in foreach command:

foreach criteria in `year_criteria' {

*   For searches and help try:

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