shanepax23 0 Posted October 30, 2014 Report Share Posted October 30, 2014 Hi everyone, I was hoping someone could help me out here. I have a set of defines/commands that I would like to be able to run in a loop and in new threads but I need itto use a new set of variables for each loop. so let's say I wanted to run this set of commands/defines 5 times and with 5 threads with each one usingdifferent variables. can anyone set me on the right track? Quote Link to post Share on other sites
HaHaItsJake 25 Posted October 30, 2014 Report Share Posted October 30, 2014 Hello Shane, set(#Username, "Testing1", "Global") Use "Set" and change the "Global" to "Local". set(#Username, "Testing1", "Local")Global will run threw all threads, while local... well it's set to only the thread being used thread. Regards,HaHaItsJake Quote Link to post Share on other sites
UBotDev 276 Posted October 30, 2014 Report Share Posted October 30, 2014 Hello Shane, set(#Username, "Testing1", "Global") Use "Set" and change the "Global" to "Local". set(#Username, "Testing1", "Local") Global will run threw all threads, while local... well it's set to only the thread being used thread. Regards,HaHaItsJake Exactly as he said with one small correction...variables are LOCAL to the define command where you use them, not thread. 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.