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

#889 addListEntry() won't accept 'DATA' for an entry

v4.0.1
closed
Mark Miesfeld
1
2012-08-14
2010-02-25
Mark Miesfeld
No

This turns out to be a bug in the original ooDialog code:

::method AddListEntry unguarded
use arg id, data
if Arg(2,'o') = 1 | data = "DATA" then return -1

The check:

if Arg(2,'o') = 1 | data = "DATA"

is looking to see if arg 2 was omitted. But, "if arg(2, 'O') = 1" is sufficient.

The bug does not exist in trunk where many of the methods, including this one, have been updated.

The bug was brought to my attention on comp.lang.rexx.

Discussion


Anonymous


Cancel   Add attachments