Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: max length of 244 characters

From   Maarten buis <>
To   stata list <>
Subject   RE: st: max length of 244 characters
Date   Tue, 13 Jul 2010 15:35:00 +0000 (GMT)

-- SCHOUMAKER Bruno wrote:
> The problem is that the macro seems to limited to 244 characters : 
> `TFR_t' is truncated to 244 characters.
> Is there a way to store a longer string expression ?

The trick is to avoid evaluation of the local, which means that you
need to leave out the equal sign. For example I would write the line

local TFRj`i'="TotFR`i'=(" + "`TFR'" + "`mult`i''" + ") "


local TFRj`i' "TotFR`i'=( `TFR' `mult`i'' )"

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index