In <[EMAIL PROTECTED]>, on 03/10/2008
at 11:11 AM, Todd Burch <[EMAIL PROTECTED]> said:
>Running this, I get a match.
Yes, because the two strings express the same number.
>if (offset1 = offset2) then say MATCH! ;
>else say NO MATCH!
Try if (offset1 == offset2)
>What does it return on your system?
Using REXXTRY in OS/2 and typing statements in, I got this:
v1=0000e0
v2=0000e8
say v1=v2
==> 1
say v1==v2
==> 0
where a leading blank inidicates REXX code and ==> indicates output.
>However, rexx decides, for whatever reason, (probably because they
>"can" be numeric) that they are not strings.
NO! Everything in REXX is a string. The behavior you see is due to the
particular values in your strings and to your choice of comparison
operators.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html