String Length ?
Blitz3D Forums/Blitz3D Beginners Area/String Length ?
| ||
What is the longest string that we can make in Blitz? Anyone know or have read from document or somethng. |
| ||
http://www.blitzbasic.com/bbs/posts.php?topic=20859 |
| ||
[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? |
| ||
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. |