Size of string variables?

Blitz3D Forums/Blitz3D Beginners Area/Size of string variables?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The limit is set by the 32bit signed int that is used to store it's length: about 2 billion characters. The string does also contain 4 bytes that are not part of the string but are used to handle it: the lengt of it (the mentioned 32 Bit).As far as I remember a string uses Stringlength plus 4 bytes in memory.
EDIT: degac was faster :.(