PDA

View Full Version : [FIXED] Comment in last line results syntax error



zmagyar
19 Mar 2012, 9:03 AM
I know it's a small issue but an annoying one.

Commenting out the last line in the code editor results a syntax error. It's all fine if you add an empty line at the end. I assume the function's closing bracket is added to the end in the background creating the issue.

32904

aconran
19 Mar 2012, 1:45 PM
Thanks, this bug will go away in a near future build.

joostvanhassel
23 Mar 2012, 6:43 AM
Also, using 'return' in a function gives the error 'Return not in function'. This is probably caused by the fact the editor doesn't 'see' the fact you're editing the inner code of a function.

Please let me know if you need a code sample of screenshot.

aconran
23 Mar 2012, 7:15 AM
Yes, this will be fixed as well.

Thanks

joostvanhassel
23 Mar 2012, 7:29 AM
Great, thnx

aconran
28 Mar 2012, 9:22 AM
Fixed in build > 341.