Artifacts Associated With Ticket 218320
Ticket change [ae67dbf9e9] (rid 101635) by nobody on 2000-10-26 00:56:08:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 3824 Bug Version: 8.0.5 SubmitDate: '1999-12-08' LastModified: '1999-12-08' Severity: MED Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Windows 98 OSVersion: Microsoft Windows 98 4.10.1998 Machine: Dell Machine FixedDate: '2000-10-25' ClosedDate: '1999-12-08' Name: Toru Tsuneyoshi ReproducibleScript: % set L(1) a ; set L(2) b ; set L(3) c % puts "parray L -> \n[parray L]" ObservedBehavior: L(1) = a L(2) = b L(3) = c parray L -> ### The results shown are in reverse order. DesiredBehavior: parray L -> L(1) = a L(2) = b L(3) = c Patch: *** parray.tcl.oldWed Dec 08 13:11:38 1999 --- parray.tcl.newWed Dec 08 13:37:16 1999 *************** *** 24,29 **** set maxl [expr {$maxl + [string length $a] + 2}] foreach name [lsort [array names array $pattern]] { set nameString [format %s(%s) $a $name] ! puts stdout [format "%-*s = %s" $maxl $nameString $array($name)] } } --- 24,31 ---- set maxl [expr {$maxl + [string length $a] + 2}] foreach name [lsort [array names array $pattern]] { set nameString [format %s(%s) $a $name] ! if {[info exists b]} {append b "\n"} ! append b [format "%-*s = %s" $maxl $nameString $array($name)] } + return $b } PatchFiles: No files This breaks the defined behavior of parray, which is to use puts rather than return the data. -- 12/08/1999 hobbs - foundin initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "output of "parray""
- type initialized to: "RFE"
Ticket change [24a758d0cb] (rid 131146) by welch on 2000-10-26 08:19:00:
- closedate changed to: "2000-10-26T01:19:00"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [4e9b3064ee] (rid 125674) by dgp on 2001-04-21 02:59:52:
- foundin changed to: "None"
- status changed to: "Open"
- subsystem changed to: "None"
- title changed to: "output of "parray""
Ticket change [e2e2a69b96] (rid 87696) by dgp on 2001-04-21 03:00:46:
- closedate changed to: "2001-04-20T20:00:46"
- closer changed to: "dgp"
- status changed to: "Closed"
- subsystem changed to: "38. Init - Library - Autoload"
- title changed to: "output of "parray""