Hello,
Beyond the crash in case you forget a closing brace, PI also crashes in case some parameter of a GUI function is missing or undefined.
For example an undefined parent, or a parent not initialized in a GroupBox before doing some operations, or many similar situations, crashes PI (Windows 7 / 64 bits).
I am reorganizing a UI interface and I spend evenings restarting PI and guessing which variable may have caused the crash. Very similar to assembly code programming on the first IBM PC. Except that I am much worst at Javascript than at assembly :-)
It would be nice if all functions called by the script verified the parameters, at least to the point of not crashing the program. May be in PI 1.8 ?
-- bitli