On Tue, 11 Mar 2008 15:09:45 +0100, Thomas Berg
<[EMAIL PROTECTED]> wrote:
>...
>> ... REXX sees 2 equal numbers in the first case and 2 different
>> strings in the second case.
>
>No. REXX sees 1 string in each case ("00E0 00E8" and "00F0 00F8").
>Try x = 00E0 + 00E8 and y = 00F0 + 00F8
>You
Mainframe cc
Discussion List
<[EMAIL PROTECTED] Subject
.EDU>
From REXX/VM Reference -
Certain character strings are numbers even though they do not appear to
be numeric to the user.
Specifically, because of the format of numbers in exponential notation,
strings, such as 0E123
(0 raised to the 123 power) and 1E342 (1 raised to the 342 power), are
numeric
> -Ursprungligt meddelande-
> Från: IBM Mainframe Discussion List
> [mailto:[EMAIL PROTECTED] För Patrick O'Keefe
> Skickat: den 10 mars 2008 20:50
> Till: IBM-MAIN@BAMA.UA.EDU
> Ämne: Re: Rexx bug?
> On Mon, 10 Mar 2008 19:16:26 +, Ted MacNEIL
> <[EMAIL PROTECTED]> wrote:
> >The simp
Everything is character strings in REXX.
Some character strings can be interpreted as numeric values...
Consider:
var1 = "123"
var2 = 5
var3 = var1 * var2 /* gives var3 = 615 */
REXX make a numeric compare if possible.
Thomas Berg
__
5 matches
Mail list logo