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

st: Re: Macro format

From   "R.E. De Hoyos" <>
To   <>
Subject   st: Re: Macro format
Date   Fri, 29 Apr 2005 20:07:21 +0100

Dear Thomas try,

local month 01. Every time you type `month' Stata will read it as 01.

----- Original Message ----- From: "Thomas Speidel" <>
To: <>
Sent: Friday, April 29, 2005 8:00 PM
Subject: st: Macro format

Dear Statlisters:

I would like to store the number or string 01 to a local macro.
However, typing:
. local month=01

will produce:
. disp `month'

Other ways I tried include:
. local month="01"
. local `month'="01"

Any suggestions?

This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
e-mail and destroy any copies. Any dissemination or use of this
information by a person other than the intended recipient is
unauthorized and may be illegal.

*   For searches and help try:

*   For searches and help try:

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