#1215 Numeric strings not working with DO OVER

v4.2.0
closed
Rick McGuire
None
complete
1
2014-04-15
2013-12-05
Rick McGuire
No

A fix was made to the string class so that the DO OVER instruction would recognize that .String implements a makearray method. However, this fix was incomplete, and some numeric values (e.g. instances of RexxInteger and RexxNumberString) will cause an error if used on DO OVER. For example,

do s over "abc"; say s; end

works, while

do s over 123; say s; end

will give an error.

Discussion

  • Rick McGuire
    Rick McGuire
    2013-12-06

    • status: accepted --> pending
    • Pending work items: code --> complete
     


Anonymous


Cancel   Add attachments