On Monday, November 25, 2002, at 07:01 PM, Oliver Hardt wrote:
on mouseUp-- this function gets a tab-separated list of -- values (ppData) and a tab-separated list of -- keys (ppKeys). then an array is filled up -- with the ppData values and returnedfunction gF_LoadPPRec pData,pKeys put empty into lPPArray set the itemDelimiter to tab repeat with i = 1 to the number of items of pKeys put item i of pData into lPPArray[(item i of pKeys)] end repeat return lPPArray end gF_LoadPPRec
local theArray
put gF_LoadPPRec(("abc" & tab & "xyz"), ("A" & tab & "B")) into theArray
put theArray["A"] && theArray["B"] into field "Report"
end mouseUp
Works for me. Well, in that trivial case.
Dar Scott
Just learning the power of arrays
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
