mIRC Homepage
Posted By: disgust best way to store lots of variables? - 11/06/14 01:50 PM
i'm writing a script that has a list of variables, and i'll frequently need to go through them all to check if they've occured before

is the best way to do this to use a separate variable for each? one variable that's comma separated? a separate file list?
Posted By: Loki12583 Re: best way to store lots of variables? - 11/06/14 01:56 PM
/help hash tables
Posted By: disgust Re: best way to store lots of variables? - 11/06/14 02:10 PM
the fact that they're temporary/not on disk doesn't seem appropriate in this case frown what would i use if i need them to be more permanent?
Posted By: Loki12583 Re: best way to store lots of variables? - 11/06/14 02:36 PM
You can save the hash tables as needed, but other than that your only built in options are ini files (you can save and load hash tables as ini files) and global variables.
© mIRC Discussion Forums