Menu

#336 rexxref chapter 16 erroneous

5.1.0
open
nobody
None
1
2024-09-11
2024-09-11
No

Paragraph 4 says:

While typically these reserved keywords act as expression terminators, using them within terms like message terms or Variable Reference terms, or with parentheses around or within the expression, can prevent these keywords from terminating the expression.

The part relative to message terms is wrong.

o = .c~new
Do i = o~to to 24; Say i; End
::Class C; ::Method to; Return 23

works as documented; but

to = .c~new
Do i = to~to to 24; Say i; End
::Class C; ::Method to; Return 23

produces a 35.904. "Using them within terms like message terms" should be substituted by "using them as message names in message terms", and the rest of the paragraph modified so that everything makes sense.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.