[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: RE: what is c_local?
To link up comments: my examples were
simple examples manufactured on the fly
to show the syntax. They were not Good Style (or Gould
Style, same thing in Stataland). Forget the
syntax: the point of -c_local- is to assist in
doing something in a corner, given arguments,
and sending back the result.
> Kardos László <firstname.lastname@example.org> asked, "What is
> c_local?", Nick Cox
> <email@example.com> replied in great, descriptive
> detail, and Allan Reese
> <R.A.Reese@hull.ac.uk> then wrote,
> > As described, it looks not only dangerous but pointless [...]
> The point of c_local is to be a tool for developing
> statements. For instance, imagine I wanted to create a new
> bill_gould x : ...
> to be used in other programs. The point of the new
> -bill_gould- command is to
> assign something to the local macro x. Inside
> bill_gould.ado, I would code
> the line
> c_local `1' ...
> Thus assigning back to the local macro in the caller's space.
* For searches and help try: