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

st: Re: syntax of local macros

From   Christopher F Baum <>
Subject   st: Re: syntax of local macros
Date   Tue, 24 Jun 2003 06:16:34 -0400

On Tuesday, June 24, 2003, at 02:33 AM, Danielle wrote:

local rhs "`rhs' (xret`i' xmkt`i')"
di "`rhs'"
sureg `rhs',corr

Note well the lack of an equal sign in the definition of local rhs.

Is this so that the local variable <rhs> exists outside of the -forvalue-
No, it is to ensure that a local macro longer than 80 bytes can be formed. An equals sign will prevent that.


* For searches and help try:

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