| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | REXX |
-=> Quoting Mike Tripp to Phil Crown <=-
MT> = also functions as a string comparison operator in Rexx. The
MT> difference between = and == is that = will ignore leading/trailing
MT> blanks while == requires strict equality. So:
MT> ' test' = 'test ' is true.
MT> ' test' == 'test ' is false.
MT> | is the logical OR operator and expects boolean arguments, while ||
MT> performs string concatenation. So:
MT> ' test' || 'test ' is ' testtest '
MT> and ' test' | 'test ' generates an error in an assignment statement
MT> since Rexx doesn't interpret the strings as boolean values.
Thanks for clearing that up. I should probably get a good book on Rexx. :-)
phil.crown{at}bluecafe.com
--- Blue Wave/Max v2.21b Beta
* Origin: * MacSavvy * Dallas * Mac * OS/2 * (214)250-4479 * (1:124/1208)SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 124/1208 1 396/1 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.