Marani 80 Posted June 14, 2018 Report Share Posted June 14, 2018 Hi, Many times I need to keep one or more variable(s), list(s) or a table(s) and get rid of the rest using clear all data command. What would be the best solution to do this? How do you do this usually? For example, keep user input in UIs (assigned to variables) and clear everything else. Thanks Quote Link to post Share on other sites
UBotBuddy 331 Posted June 17, 2018 Report Share Posted June 17, 2018 First. In cases I like that I never use Clear All. I always add my variables that I want to preserve in a single cycle Loop at the beginning. At some pointwhen I do need to clear most of my variables I will copy that Loop and place inside of a button for my UIand then I will take out or modify what I want that button to do. I was doing this before the Clear All wasadded to UBot. Buddy Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 28, 2018 Report Share Posted June 28, 2018 You could save their settings to a file in a variety of ways like using the INI plugin, a csv file, etc. Then run clear all and load those settings (or whatever data you need) back in. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.