array: why does this not work?

Oliver Hardt hardt at u.arizona.edu
Sun Dec 1 20:56:01 EST 2002


hello:  i have the following function that basically replaces get 
theArray[theKey];  put it.

function gF_getA pArray, pKey
   get pArray[pKey]
   return it
end gF_getA


however, this function doesn't return anything, although the array 
contains the correct values.

alternatively, i tried the following code with no positive result:

function gF_getA pArray, pKey
   get pArray[quote & pKey & quote]
   return it
end gF_getA



thank you for your help!  best, olli.


More information about the use-livecode mailing list