Here's how to have some REAL fun screwing up everything with the new(ish) eclipse based ls editor in the Notes 9 client (probably earlier as well).
A hold over from the origins of the languages, is that it's legal to use the ":" colon to put more than one line of code in without a newline. For example...
case 23 : myString = "This new thing"
case 24 : myString = "This other thing"
Do that in the new eclipse client and it compiles and seems to run. STRANGE things happen though. Crashtastic things somethings. If you step through in debugger, you'll see your code taking branches that don't exist, evaluating expressions wrong, and generally getting very very ugly.
Now, without a lot of testing I can't tell you if this ONLY happens if you don't leave a space (which is still perfectly valid, in theory)
case 23 : myString = "This new thing"
case 24: myString = "This other thing"
case 25 : myString = "This other thing"
Or of there's more (or less) happening.
What I do know, is that there are HOURS of work I'll never get back.
Comment Entry |
Please wait while your document is saved.
of code then?