Re: Multi-line comments
- Posted by mattlewis (admin) Feb 23, 2009
- 1020 views
DerekParnell said...
There is not much difference between count++ and count+=1 , and a double dash will just mark the start of a line comment.
The biggest difference is that (at least in other languages that have them) the pre/post-increment/decrement operators return a value, which can be incredibly useful, but IMHO isn't very Euphorian.
Contrived example:
sequence s = get_some_input() integer ix = 0 while ix++ < length( s ) do -- process s[ix] end while
Matt