POV-Ray : Newsgroups : povray.bugreports : String literals can only be 125 characters long : Re: String literals can only be 125 characters long Server Time
18 Jun 2024 09:22:05 EDT (-0400)
  Re: String literals can only be 125 characters long  
From: Samuel van Egmond
Date: 3 Jun 1999 16:28:56
Message: <3756d778.0@news.povray.org>
You are a very funny spider!!!

Good one....

Samuel.

Spider wrote in message <375### [at] bahnhofse>...
>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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.