What is the maximum length of a string?
Displaying 1-6 of 6 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
rpgking

Is it still 255 characters like it was in Verge2?

Posted on 2004-05-18 22:32:35

vecna

No.

There's limits in some situations.. log and exit() probably have limits of 4k. But general string ops are virtually unlimited.

Posted on 2004-05-18 22:58:52

gannon

my tests say that 255 is not the limit.
the log file can't take really big string but I got a string of about 3500 in there

eep posted at the same time :P

Posted on 2004-05-18 22:59:37 (last edited on 2004-05-18 23:14:08)

rpgking

WOW..."virtually unlimited"?

That is awesome! :O

Posted on 2004-05-18 23:15:55

Ear

Too bad a string literal of 951 characters or more will cause VCC to crash as it loads the string into a fixed-size buffer.

Now how about real string comparisons?

Posted on 2004-05-25 01:31:57 (last edited on 2004-05-25 01:35:13)

Gayo

Nyahaha. I set up a loop to double the size of a string with every iteration and got to several hundred megs of memory usage before giving up.

Posted on 2004-05-25 02:45:07


Displaying 1-6 of 6 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.