Forum Moderators: open
if (false) {
// Old code
} else {
// New (candidate) code
} ...then don't be surprised if the published movie does not work anymore. Modifying the code to:
if (!true) {
// Old code
} else {
// New (candidate) code
} Looks as if the compiler crashes at this point in the movie, it behaves as if it were a compile error - but without any error message.
if (false) { somecode } else { someothercode } ...stops the movie being compiled properly. Anything other than that works (1==0, !true or true&&false), but if I just use false as the condition, that doesn't.
Nothing needs to be solved here, just found it interesting enough to post it here, might come handy for someone (or a good start for experimenting or bug reporting :-)