PDA

View Full Version : Bug/Feature: Maximum io.writeln variable size lowered


GregMalick
12-02-2005, 02:46 PM
Here's an LScript annoyance that could break existing LScripts.

in LW8.5, the maximum size of a io variable has been changed from 125 to 100.
This is specifically in the section:

save: what,io {
blah blah blah
io.writeln( anIO )
blah blah blah
}

The variable anIO cannot be over 100. If it is LW crashes.
v8.0, v8.1, v8.2, v8.3 all had an upper limit of 125 bytes.

This simply means that certain LScripts may cause LW8.5 to crash when the scene is saved. If you have written an LScript that used to work fine but now crashes upon scene save - this may help uncover the problem.

Now if I can just figure out how to make vFollower scenes backward compatible. :bangwall:

p.s. this has also been posted in the LW8.5 bug sticky-thread.



EDIT:

I have just discovered that on the MAC the upper limit is 99bytes. PC=100bytes.