Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#465 Error message ex rxmath

None
open
nobody
Classes (154)
5
2012-08-22
2012-06-22
Walter Pachl
No

Funny number in
6 - Say ' 'rxcalcsin(0.1,'R')
Error 88: Invalid argument
Error 88.907: Argument 2 must be in the range 0 to 4294967295; found "R"

should be 1 to 4294967295 (or better 1 to 16 if sticking to the doc)

Indeed 4294967295 is accepted (but ignored)
4294967296 is rejected

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2012-07-21

    Walter,

    I don't see this as a bug. If I change this to:

    --Say ' 'rxcalcsin(0.1,'R')
    Say ' 'rxcalcsin(0.1,0)

    ::requires 'rxmath' LIBRARY

    I get this output:

     4 *-* Say ' 'rxcalcsin(0.1,0)
    

    Error 40 running C:\work.ooRexx\bug.work\rxcalcsin.bug\test.rex line 4: Incorrect call to routine
    Error 40.1: External routine "RXCALCSIN" failed

    So, 0 is also accepted, and as you said, 4294967295 is also accepted.

    The message is correct, making it not a bug.

    You can argue that the message could be better, and I wouldn't argue with you. But that makes this a RFE (request for enhancement.)

    I'm going to move this out of the Bug tracker and put it in the Feature Requests tracker.

     


Anonymous


Cancel   Add attachments