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

RE: st: Calling a scalar within a command.

From   "Doogar, Rajib" <>
To   <>
Subject   RE: st: Calling a scalar within a command.
Date   Fri, 25 Feb 2005 09:59:03 -0600

David and Jean

Thank you both for your suggestions.  Both worked for me.  I did
find that for my purposes using David's approach was a bit better
since that way I can call the scalars again later in the program
even after the the loop for scatter is done. 

I must confess I would never have figured out David's solution
which is exactly what I needed.  I'd like to learn how to think of
things like the `=foo' bit which is pure magic to me. I did get
to trying scalar(`x'1) and even thought of using xline(display `x'1),
but the idea of using `=' in the xline option never even came to me.

Is there a place where one can read up things like the '=' bit?
Sorry if this is too pesky or too general.

Again thanks, you have both been a great help!


Rajib Doogar, 
Department of Accountancy, 
The University of Illinois at Urbana-Champaign 
1206 S. Sixth Street, Champaign, IL 61820
Ph: 217.244.8083, Fax: 217.244.0902

*   For searches and help try:

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