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 on April 23, and its replacement, is already up and running.

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

st: Declaring several local variables at once

From   Dani Tilley <>
To   stata <>
Subject   st: Declaring several local variables at once
Date   Thu, 5 Aug 2010 10:59:03 -0700 (PDT)


I was wondering how you can declare more than one local var in one line.

I tried -loc a b c=0- and it returned no error. But -di `a'- returned r(111). 
Also, is there a way to `drop' the locals after your program ends?

Thanks in advance.

DF Tilley


*   For searches and help try:

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