Blockland Forums > Modification Help
Exported-to prefs file - delete pref
(1/1)
ThinkInvisible:
Okay, so i have a list of some sort that i used export(varname*,fileloc); to transfer variables to.

How would i delete one of those variables from the file? I have it so it shunts all of them back after overwriting the first variable, but it leaves a ghost at the end. How do i delete this?


EDIT: Something just occured to me. Doesn't Export delete everything in the file and then plop the commands to retrieve variables

--- Code: ---$prefname[prefIDstuff] = value;
--- End code ---
for each of them in there?

If so, might $prefname[prefIDstuff].delete(); work?
MegaScientifical:
deleteVariables("$prefname[prefIDstuff]");
Navigation
Message Index

Go to full version