From: SourceForge.net <no...@so...> - 2007-09-26 16:26:17
|
Bugs item #1802909, was opened at 2007-09-26 16:26 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1802909&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: pragmatic_lee (pragmatic_lee) Assigned to: Nobody/Anonymous (nobody) Summary: Parse lower - broke in 3.2 Initial Comment: Code that has worked fine in 3.1.x for months no longer works in 3.2. Narrowed the problem down to the following. As shown below, "The NIL Object" is returned when accessing a directory index when that index's value was set using "parse lower". If I use the new 3.2 method "lower", the problem goes away, so this seems to point directly to changes to "parse". Lee Code parse version ooRexxVer say ooRexxVer say rows = .directory~new() stem.WEEKEND = '20070926' do tail over stem. parse lower var tail index rows[index] = stem.tail end say rows['weekend'] -- should work say do i over rows say i rows[i] end Says REXX-ooRexx_3.2.0(MT) 6.02 25 Sep 2007 The NIL object weekend 20070926 ----------------------------------------------------------------- Code parse version ooRexxVer say ooRexxVer say rows = .directory~new() stem.WEEKEND = '20070926' do tail over stem. parse lower var tail index rows[index] = stem.tail end say rows['weekend'] -- should work say do i over rows say i rows[i] end Says REXX-ooRexx_3.1(MT) 6.01 20 Apr 2007 20070926 weekend 20070926 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1802909&group_id=119701 |