TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Andrea Zaccagnini
from: Stephan van Loendersloot
date: 1995-10-25 23:12:06
subject: REXX

Hello Andrea!

"It's 10:47, this is the news of 22 Oct 95, with Andrea Zaccagnini..."
" .. and we have the following topic: REXX..."

 AZ> Hi all,

 AZ> I have a stupid REXX problem, and no text I've read can help me.
 AZ> This is a wrong REXX token:

 AZ> If ((a="aa") | (a="bb")) then
 AZ> ...

 AZ> but its meaning is quite obvious in other programming languages.
 AZ> What's the right corresponding token?


The correct form is:

if COMPARE("aa","bb")=0 then    /* if not 0 then it's
not equal */
do
 (statements)
end /* do */


The other form might be:

a="aa"
b="bb'
if COMPARE(a,b)=0 then
do
 (statements)
end /* do */

 AZ> thanks in advance,

No thanks...

 AZ> Andrea Zaccagnini


I'll be right back, after the commercials,

  Stephan/2

    Fidonet: 2:282/701.9
       OS2Net : 81:431/201.3

[Feel free to correct my english]

--- FMail/2 1.02
* Origin: Just a fool to believe I have many things she needs. (2:282/701.9)
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: 282/701 1 283/512 280/801 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™.