Jim-

Or, more generically,

(button script)
on mouseUp
  local tMyArray
  local tName, tValue

  -- insert sample data
  put 42 into tMyArray["Vera"]
  put 42 into tMyArray["Chuck"]
  put "Dave" into tName
  put 123 into tValue
  combine tMyArray using cr and tab
  send "TestIt tMyArray, tName, tValue" to this stack
  put the result into tMyArray
  split tMyArray using cr and tab
  -- verify the test
  put the keys of tMyArray into field 1
end mouseUp

(stack script)
on TestIt pArray, pName, pInt
  split pArray using cr and tab
  put pInt into pArray[pName]
  combine pArray using cr and tab
  return pArray
end TestIt

...and thanks for the tip. This is way useful.

-- 
 Mark Wieder
 [EMAIL PROTECTED] 



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to