Code: Select all
function resourceRollup pDoc,pSeed,pDirection,pPayload -- pDoc is 1, pSeed is 6
put the keys of sMainShort[pDoc] into tKeys -- this works
put the keys of sMainShort[1] into tKeys2 -- this works
put the keys of sMainShort[pDoc][pSeed] into tKeys3 -- this does not work; returns empty
put the keys of sMainShort[pDoc][6] into tKeys4 -- this works
if pSeed is 6 then put true into tTest -- returns true
if pSeed is "6" then put true into tTest2 -- returns true
I tried closing and reopening Livecode on the off chance it was a weird one-off bug but it persisted.