Is a SEMICOLON a CARRIGE RETURN?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is a SEMICOLON a CARRIGE RETURN?

ThSITC
Hello Chip Davies, (and all)

Could you point me to the proper section in nrl3.def that a SEMICOLON is IDENTICAL
for the Language in question (NetRexx) to a CARRIAGE RETURN, please??

Thanks in advance,
Thomas.
 
--
Thomas Schneider (Founder of www.thsitc.com) Member of the Rexx Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team (www.netrexx.org)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: Is a SEMICOLON a CARRIGE RETURN?

billfen
From the NetRexx 2 documentation:

Implied semicolons and continuations
A semicolon (clause end) is implied at the end of each line, except if:
1.The line ends in the middle of a block comment, in which case the clause continues at the end of the block comment.
2.The last token was a hyphen. In this case the hyphen is functionally replaced by a blank, and hence acts as a continuation character.
This means that semicolons need only be included to separate multiple clauses on a single line.
Notes:
1.A comment is not a token, so therefore a comment may follow the continuation character on a line.
2.Semicolons are added automatically by NetRexx after certain instruction keywords when in the correct context. The keywords that may have this effect are else, finally, otherwise, then; they become complete clauses in their own right when this occurs. These special cases reduce program entry errors significantly.

On 11/8/2011 2:07 PM, Thomas Schneider wrote:
Hello Chip Davies, (and all)

Could you point me to the proper section in nrl3.def that a SEMICOLON is IDENTICAL
for the Language in question (NetRexx) to a CARRIAGE RETURN, please??

Thanks in advance,
Thomas.
 
--
Thomas Schneider (Founder of www.thsitc.com) Member of the Rexx Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team (www.netrexx.org)


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1869 / Virus Database: 2092/4604 - Release Date: 11/08/11


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/