#202 DO repetitor > 999999999 fails

v3.1
closed
nobody
5
2012-08-14
2006-11-04
No

REXX-ooRexx_3.1(MT) 6.00 15 Aug 2006
Windows XP SP2

Here are the results when trying to interpret the
attached program:

 5 *-*   Do 1000000000

Error 26 running C:\temp\timetest.rx line 5: Invalid
whole number
Error 26.2: Value of repetition count expression in DO
instruction must be zero
or a positive whole number; found "1000000000"

That is a positive whole number, and the numeric digits
value is > 9, so this should be allowed.

Discussion

  • Stephen Rondeau

    Stephen Rondeau - 2006-11-04
     
    Attachments
  • Rick McGuire

    Rick McGuire - 2006-11-04

    Logged In: YES
    user_id=1125291

    This is a documented limit for the exprr expression in do
    loops. See Section 11.5 in the Rexx Reference, "Limits and
    Errors when Rexx uses numbers directly.".

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks