
This time, I have a script that does a lot of notecard reading, parsing and handling commands. Once a command is handled I jump to the end of the handling function (rather than have a ton of if-else nests).
And example of pseudocode is:
if (command1) {
handle it
} else if (connand2) {
handle it
}
if (it was handled) {
jump end;
}
do stuff
//do bad stuff
@end;
The bug is - if I uncomment the 'do bad stuff', it causes the jump to end to not jump. The jump still gets hit, but it just doesn't jump.
I know it is not a lot to go on, but has anyone else noticed this? My script is very big and complex and isolating just what the 'bad stuff' is has proven to be difficult. I think the size of the scipt is a factor. Attempts to make a small example havnt reproduced teh bug