Sign in to follow this  
Followers 0
VicTT

Uhm..this is really weird

2 posts in this topic

LOL..Um..This is going to sound veeery strange..I made a script, seen that it works, and compiled it..Then it panicked on me with an "blah blah blah..subscript dimension range exceeded"..I traced the problem back to a FileReadLine call..which seems to return "" for an uncompiled script and some (random?) garbage for the compiled one..The script's logic is the following..It attempts to read line _FileCount($file)-1 of the file..when the file has only 1 line, the read should fail and it should return ""..But in the case of the compiled script, it returns(HEX Dump if helpful to someone)

0C B4 70 74 18 18 B0 05 D6 95

This is something I've never encountered before..I can provide the whole script to any DEV that thinks he can fix the problem..Personally, I think it's a buffer overflow..

EDIT: I *CAN* work around the issue, but I still think it's a weird issue that needs fixing..


[quote]Together we might liveDivided we must fall[/quote]

Share this post


Link to post
Share on other sites



UPDATE: Posted the code bit that was causing problems on the "BUG Report" forum..Awaiting an answer from one of the devs..


[quote]Together we might liveDivided we must fall[/quote]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0