>
>I meant the 255 character limit of a string.
> That is, whether you create the variable using TEXT .. ENDTEXT
> or otherwise, the resulting variable cannot be greater than 255.
That limit is only for "quoted strings", the number of characters between a single pair of quotation marks.
When you for instance split the long string into pieces, or fill the variable programmatically, the official limit is ~16MB.
cVar = REPLICATE('x',16777184)
? LEN(cVar)
hth
-Stefan