All pastes #586522 Raw Edit

Unnamed

public text v1 · immutable
#586522 ·published 2007-06-23 22:24 UTC
rendered paste body
proc main {} {
set mainBuff [struct::stack]

listMod mainBuff
}

proc listMod {bufArg} {
upvar $bufArg bufRet
set srvLstCon [getList]

foreach lin [lindex $srvLstCon] {
 $bufRet::push $lin <-- can't read "bufRet::push": no such variable
 }

return
}