Difference between revisions of "CreateString"

Jump to navigation Jump to search
343 bytes added ,  17:10, 1 April 2008
Crash note
imported>Speedo
(Graduating from beta)
imported>Speedo
(Crash note)
set nuString to CreateString -1 0 1 1
StringLen nuString 0
*Due to a bug with [[Set]], you can't directly create large strings with CreateString, as the CS will crash when you attempt to compile the script. To get around this, simply use [[SetString]] immediately after CreateString to set the contents:
set myString to CreateString -1 0 1 1
SetString myString "Very, very, very, long string [...]"
 
[[Category: Functions (Pluggy)]]
Anonymous user

Navigation menu