|
![](/i/fill.gif) |
Samuel van Egmond wrote:
> By the way, the documentation doesn't state how long strings can become, you
> can concat strings to over 256 characters, I tried to over 2,000,000 which
> seems to work fine. Which also provides the workaround for the bug above.
Not true..
Try to use the sub (hmm, substring, can't remember it's function now) to
print the string. even if a concat loop works, the print doesn't..
#declare S = "."
#declare N = 100000;
#declare M = 0;
#while(M<N)
#declare S = concat(S,".")
#declare M = M +1;
#end
#declare M = 0;
#while(M<N)
#debug concat("\r",substr(S,0,M))
#declare M = M +1;
#end
this should show it....
//Spider
Post a reply to this message
|
![](/i/fill.gif) |