Logic Machine Forum
storage.delete() - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: storage.delete() (/showthread.php?tid=5034)



storage.delete() - benanderson_475 - 17.10.2023

Hi,

is there a function to storage.delete(key) but to deleteĀ all storage, or may i just do a simple for loop to delete all keys in storage?

Many thanks


RE: storage.delete() - admin - 17.10.2023

Use storage.clear()


RE: storage.delete() - benanderson_475 - 17.10.2023

Many Thanks