Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

clearGlobalData?

edited June 2012 in Questions Posts: 13

We have a clearLocalData, and a clearProjectData. However I could not help but notice there is no clearGlobalData.
Can we use clearProjectData to clearGlobalData or must we delete an entire project to do so?

Comments

  • edited June 2012 Posts: 489

    This previous discussion may help you.

    If you know what keys are already in Global storage, I believe you can clear them by setting their value to nil.

    In versions after 1.4.1, you'll be able to listGlobalData() as a first step to clearing keys by setting their values to nil.

  • SimeonSimeon Admin Mod
    Posts: 5,054

    Thanks @mpilgrem, that is correct. Version 1.4.2 and later will allow you to list the keys in global data and nil them out. It's just taking a long time for version 1.4.1 to be approved, so we haven't been able to submit 1.4.2 (or whatever it ends up being called when 1.4.1 is approved).

Sign In or Register to comment.