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

st: new stata versions and local variable creation

From   "NEYMOTIN, FLORENCE" <[email protected]>
To   [email protected]
Subject   st: new stata versions and local variable creation
Date   Mon, 11 Jul 2005 11:49:20 -0700

Hi, I had 2 questions for y'all:

(1) have there been changes between the different stata versions (7,8,9) in terms of the size of allowable matrices? I.e. have they gotten larger or smaller for allowable matsizes?

(2) If you create local variables within an .ado file that calls ANOTHER .ado file, do the locals show up in the sub-file? On a similar note, how are they destroyed if you are repeatedly calling the sub-file? I.e. suppose that you are in the file "outer.ado" and you call "inner.ado" and inner.ado creates the local "weird_var", then if I call inner.ado 100 times, do I have 100 copies of "weird_var" floating around as locals until the outer.ado exits? (I thought they should be destroyed as soon as inner.ado completes, but I wanted to check.)

Thank you,
* For searches and help try:

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