staind25
TH.net Regular
- Reaction score
- 7
I'm using (Integer A) in a variable array but I'm not sure if it does what I want it to do. I can't find any tutorials on loops either.
I posted a topic last night on what I WANT it to do...it's copied below:
I'm in the process of setting the variable to a specific array. The goal is...if array 0 is NOT empty, check array 1. If array 1 is NOT empty, check array 2...and so on, until it finds an empty array.
The alternative to the loop is a very long list of if/then/else statements which I'd rather avoid if I can. I'd essentially have to have if/then/else/if/then/else 12 times...it'd be ridiculous and probably really slow for the machine to calculate.
So...will a loop solve my problem? If so, can you please explain how this is done?
Thanks much! I know it's a lot of reading/problem solving and I really appreciate your time and effort.
I posted a topic last night on what I WANT it to do...it's copied below:
I'm in the process of setting the variable to a specific array. The goal is...if array 0 is NOT empty, check array 1. If array 1 is NOT empty, check array 2...and so on, until it finds an empty array.
The alternative to the loop is a very long list of if/then/else statements which I'd rather avoid if I can. I'd essentially have to have if/then/else/if/then/else 12 times...it'd be ridiculous and probably really slow for the machine to calculate.
So...will a loop solve my problem? If so, can you please explain how this is done?
Thanks much! I know it's a lot of reading/problem solving and I really appreciate your time and effort.