Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to write a Select Case statement in iLogic that's based on 2 True/False parameters. I just tried to write it out as my human brain would process it, but who would have known computers think differently? Is there a way to do this cleanly, or am I best off just using a bunch of If/ElseIf statements?
Here's what I tried to do:
Select Case Boolean1 And Boolean2 Case True And True MsgBox("True+True") Case True And False MsgBox("True+False") Case False And True MsgBox("False+True") Case False And False MsgBox("False+False") End Select
Solved! Go to Solution.