Hi All,

I have a stack that is used as a library stack. I use it to hold data for in arrays which are stored in Custom Properties.

I create the arrays like this:

put "XXX" into theName


function SetArray(theName,theArray)
put "cp_PrefsArray_" & theName" into myArrayName
set the customProperties[myArrayName] of me to theArray
end SetArray

function GetArray(theName)
put "cp_PrefsArray_" & theName" into myArrayName
put the customProperties[myArrayName] of me to myArray
return myArray
end SetArray

Also in the Stack Script:

on libraryStack
local myArray

put "XXXX" into myArray("KeyX")
get SetArray("Name",myArray)
set the customKeys of me to empty
put GetArray("Name") into myArray --Check if the above worked
end libraryStack

But myArray is not "empty" it contains garbage from ages ago!

Can anyone please just tell me how to clear all the customProperties in a stack?

Thanks a lot
All the Best
Dave
_______________________________________________
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