Templates: Difference between string symbol declaration
1999-07-30 -- Arnor Baldvinsson
Newsgroups: TopSpeed.Topic.Templates
Hi Roberto,
On Thu, 29 Jul 1999 12:33:05 -0500, "Roberto Artigas Jr"
wrote:
>Heavenes Brian - That what I was suspecting. That is what I was afraid of.
>Ouch! I need bigger strings than that. Time to post a sugestion and work on
>alternative approaches.
Just for other's information:
I've discovered something interesting in the way how you declare a
string symbol in a template. According to the documentation, if the
String attribute is left out in the declaration, String is used as a
default. This is true. However, there is a VERY big difference in
the SIZE of the allocated string.
#Declare(%X)
will allow you to put at least 60,000 characters into the %X symbol,
while:
#Declare(%X,String)
will ONLY allow you to put maximum 255 characters into the %X symbol.
I have reported this behaviour to TS developers.
Best regards,
Arnor Baldvinsson
Printed November 21, 2024, 10:41 am
This article has been viewed/printed 35202 times.
Google search
has resulted in 7 hits on this article since January 25, 2004.