SyntaxSocialist
Registered User.
- Local time
- Today, 19:24
- Joined
- Apr 18, 2013
- Messages
- 109
Hi all. I have a boolean array, foundState(3), whose 4 elements correspond to 4 variables describing conditions that will dictate what action is taken upon closing a form.
There are only 6 possible outcomes for the array, and they can be divided into just 4 cases:
Case {T,T,T,T}
Case {T,T,T,F} OR {T,T,F,F} OR {T,T,F,T}
Case {T,F,F,F}
Case {F,F,F,F}
My problem is that I have no idea (and cannot find any information online) about what the proper syntax would be for this if I'm trying to create a "Select Case" statement for these 4 cases. Maybe this is something that can't be done. Any information, help, solutions, advice, or alternative methods would be greatly appreciated.
Thanks for stopping by.
There are only 6 possible outcomes for the array, and they can be divided into just 4 cases:
Case {T,T,T,T}
Case {T,T,T,F} OR {T,T,F,F} OR {T,T,F,T}
Case {T,F,F,F}
Case {F,F,F,F}
My problem is that I have no idea (and cannot find any information online) about what the proper syntax would be for this if I'm trying to create a "Select Case" statement for these 4 cases. Maybe this is something that can't be done. Any information, help, solutions, advice, or alternative methods would be greatly appreciated.
Thanks for stopping by.