SourceForge has been redesigned. Learn more.
Close

#5 EXIT instruction evaluates operand twice

closed
None
5
2002-08-19
2001-11-13
No

If you specify an expression as the operand of the
EXIT instruction, it will be evaluated twice. Try the
following 1-line test program:

/*REXX*/ EXIT STREAM(,'Hi!')

You will see:

Hi!
Hi!

This bug has apparently been in the product since at
least v2.2. This should not be a surprise, because
this bug would only be detected if it affected some
aspect of the external environment, and it would be
very rare to find a program that does so (I guess I'm
just lucky ;-).

Anyway, Regina is a fine product -- keep up the good
work!

Discussion

  • Mark Hessling

    Mark Hessling - 2001-12-14
    • assigned_to: nobody --> rexx
     
  • Florian Grosse-Coosmann

    Logged In: YES
    user_id=262734

    The bug has been fixed. The fix will become available in the
    next official release.

     
  • Mark Hessling

    Mark Hessling - 2002-08-19

    Logged In: YES
    user_id=86185

    Confirmed that this has been fixed. Status set to pending
    until 3.1 release.

     
  • Mark Hessling

    Mark Hessling - 2002-08-19
    • assigned_to: rexx --> fgc
    • status: open --> closed
     

Log in to post a comment.