If a comment does not start on the same line as the continuation then 
the comment
acts like a semicolon and terminates the clause.

Examples:

say 'Start', /* this comment ok */
'End'

say 'Start', /*
 this comment ok */
'End'

say 'Start', -- this comment ok
/* this comment acts as a semicolon */
'End'

say 'Start',
/* this comment acts as a semicolon */
'End'

Running the above produces the following:

Start End
Start End
Start
'End' is not recognized as an internal or external command,
operable program or batch file.
Start
'End' is not recognized as an internal or external command,
operable program or batch file.

Is this the way it is intended to work? I did not find anything in the doc
that states that comments can not follow a continued line or that a 
comment block
must start on the continued line.

James Johnson


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to