Here's a loop that I use, which is in a display event:
whilevarn temp 0 { gametextz NEWFONTSTART 320 y B 0 fontpal orientation 0 0 xdim ydim 16384 sub y 7 sub B 1 sub temp 1 }
I accidentally set B to an undefined quote number. Apparently, this caused it to abort the current iteration of the loop, but not break out of the loop (it didn't reach the "sub temp 1" line). This made my computer lock up and the log file to be filled with 71KB of this line:
Line 9385, gametextz: invalid quote 573
I see this as part of a larger issue I have noticed. While previously, invalid values would allow code execution to continue, currently in many contexts invalid values cause code execution to stop in very destructive ways. For example, I've had actors stop working because they were asked to play an invalid sound number, and code execution in the actor stopped completely, with all lines in the actor's code after that point doing nothing. Little things like invalid sound numbers and quote numbers happen from time to time, they shouldn't cause code execution to stop.