[Closed] Annoying MAXScript editor behavour
evaluating this script does not throw an error.
for i = 1 to 10 do
(
print i
Instead it waits for the next ‘)’, which you can type in the Listener and it will complete the script.
I understand this is useful in the Listener to do quick multi line scripts but is there a way to stop it from happening in the MAXScript editor?
Seems like a bug to me.
pressing ESC is handy, cheers! but it still seems like the editor shouldn’t function like that!
Your script is incomplete, what would your expect it to do? Would be nice I guess if it told you it was incomplete but since it is waiting for the rest of the script how does it know?
I would have expected an unexpected end of script error or something since you are running the script from the editor, not from the listener. It just makes it hard to debug sometimes with larger scripts. I thought max didnt used to do this… maybe im wrong…