The Test program:
/ REXX /
Parse version v; Say v
x=3
y=22
Say 'x>y ->' (x>y)
Say 'x>>y ->' (x>>y)
J:>rexx sc
REXX-ooRexx_4.2.0(MT)_64-bit 6.04 22 Feb 2014
x>y -> 0
x>>y -> 0
J:>regina sc
REXX-Regina_3.9.1(MT) 5.00 5 Apr 2015
x>y -> 0
x>>y -> 1
I think that Regina is correct
Anonymous
It would seem in the case where “3”>>”22”, that failure would occur because “3” is the shorter string, and therefor can never be greater than “22”, even if y was “00”. Strict comparisons are always string comparisons not numeric comparisons.
my $0.02.
Bruce
I don't buy your change :-)
try x3>>x22
LG
Walter
Can I download 5.0? From where?
Thanx
Walter
From: Erich [mailto:erich_st@users.sf.net]
Sent: Montag, 1. Mai 2017 21:30
To: [oorexx:bugs] 1446@bugs.oorexx.p.re.sf.net
Subject: [oorexx:bugs] #1446 Strict comparison of numbers is incorrect
Walter, this was fixed for 5.0 - see [bugs:#1358]
https://sourceforge.net/p/oorexx/bugs/1358/
Strict comparisions always carry out a simple character-by-character
comparison, without attempting to perform a numeric comparison.
[bugs:#1446] https://sourceforge.net/p/oorexx/bugs/1446/ Strict
comparison of numbers is incorrect
Status: closed
Group: v4.2.0
Created: Mon May 01, 2017 04:29 PM UTC by Walter
Last Updated: Mon May 01, 2017 04:29 PM UTC
Owner: Erich
Attachments:
https://sourceforge.net/p/oorexx/bugs/1446/attachment/sc.rex (90 Bytes;
text/x-rexx)
The Test program:
/ REXX /
Parse version v; Say v
x=3
y=22
Say 'x>y ->' (x>y)
Say 'x>>y ->' (x>>y)
J:>rexx sc
REXX-ooRexx_4.2.0(MT)_64-bit 6.04 22 Feb 2014
x>y -> 0
x>>y -> 0
J:>regina sc
REXX-Regina_3.9.1(MT) 5.00 5 Apr 2015
x>y -> 0
x>>y -> 1
I think that Regina is correct
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/oorexx/bugs/1446/
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/
Related
Bugs:
#1358Bugs:
#1446Hi Walter
The 5.0.0 Beta is available from the sourceforge site along with everything
else here https://sourceforge.net/projects/oorexx/files/oorexx/5.0.0beta/.
Please try it out.
hth
Jon
On 2 May 2017 at 08:22, Walter Pachl wpachlgeshi@users.sf.net wrote:
Walter, this was fixed for 5.0 - see [bugs:#1358]
Strict comparisions always carry out a simple character-by-character comparison, without attempting to perform a numeric comparison.
Related
Bugs:
#1358Walter: Don't forget tthat you can use Gil's orxver.bat to create a backup of your current version that it
can restore in place of 5.0.0 while saving it too!