What is the longest string that we can make in Blitz? Anyone know or have read from document or somethng.
String Length ?
Blitz3D Forums/Blitz3D Beginners Area/String Length ? [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?
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?
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.
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.
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.