Currently, the accepted norm appears to be adding a pair of semi-colons, and treating everything after those as a comment. This has two major limitations that I can see:
1. It restricts us to using the end of a line- It's not possible to add a comment in the middle of code.
2. It leaves the possibility for the comments to be inadvertantly passed as paramaters to the final statement on the line.
I'd suggest implementing the standard source-code standard for comment blocks, I.E:
- Code: Select all
// -Defines the remainder of the current line as a comment
/* -Enclose your comment in between twin backslashes */
Very simple & elegant
The only issue I can see is that the .animated file format allows for use of the backslash in formulas. It'd probably be possible to use another of the special characters which aren't in use, but I'm sticking this idea forwards for further input.
Cheers
Chris Lees
