I keep staring at my code below and not understanding what I'm doing wrong, I 
think I've done this stuff 
successfully many times before. Why are map keys set (correctly) but map values 
aren't? Powerpro 4.9L

function foo()
local map=map.create(10)
....@bar(map)
win.debug(map.length)
for each key in map
  win.debug(key,"=>",map[key])
endfor
quit

function bar(m)
 map.set(m,"k1","v1")
 map.set(m,"k2","v2")
quit

debug window shows
2
k1 =>
k2 =>

Reply via email to