String Length ?

Blitz3D Forums/Blitz3D Beginners Area/String Length ?

mag.(Posted 2003) [#1]
What is the longest string that we can make in Blitz? Anyone know or have read from document or somethng.


semar(Posted 2003) [#2]
http://www.blitzbasic.com/bbs/posts.php?topic=20859


GfK(Posted 2003) [#3]
[EDIT] Must type faster next time [/EDIT] :)

I've just done a quick test and it was successful with a string containing over 20 million characters (before I got fed up and stopped it), so I don't envisage you hitting any problems if that's what you were getting at?


Snarty(Posted 2003) [#4]
Maximum is 4,294,967,296. Since the Length indicator is a 4 byte Int. So, 4.2 Billion should be enough for even the most stupid MSN name.


mag.(Posted 2003) [#5]
Thanks guys for the answer..

BTW,
I got another information. If I not mistaken, Mark said he going to change the format of string into C style (terminate by /0 style). If this true existing program which has Null in its string going to be trouble.