#52 Weird min-invocation bombs

v3.0
closed
Rick McGuire
5
2012-08-14
2005-03-16
Walter
No

/* REXX


  • ORexx: B O M B S
  • Regina: no output <<<<<<
  • ROO: works ok
  • Rexx on OS/2 works ok
  • ooRexx: ???
  • 12.03.2005 Walter Pachl
    ***********/
    NUMERIC DIGITS 100000
    v100000.1=COPIES('12345',20000)
    v100000.3=COPIES('23456',20000)
    v100000.4=COPIES('34567',20000)
    v100000.2=COPIES('45678',20000)
    Say '>'MIN(,
    v100000.1,v100000.2,v100000.3,v100000.4)'<'

Discussion

  • Rick McGuire
    Rick McGuire
    2005-03-20

    Logged In: YES
    user_id=1125291

    The trap was caused by a garbage collection problem. You
    can also
    create this problem with max() if you reverse the order of
    the arguments. This problem only occurs if the first
    argument is going to be the final answer.

     


Anonymous


Cancel   Add attachments