Yesterday, 12:43 PM
Thanks very much for your suggestions on a workaround for Case is > A AndAlso A < C .
I find I prefer a Select Case than an IF..THEN decision structure. I was also thinking I may be able to create a workaround if there was a Select Case True, but doesn't appear that that is in the Select Case arsenals.
The ability to short circuit a decision with multiple conditions has been a great addition to the Logical Operators and I use it a lot with IF...THEN. It just occurred to me that I haven't tried more than one other condition, I wonder how _Andalso works with many multiple conditions? For example:
If A>B _Andalso B>C _Andalso C>D _Andalso D=>A THEN Print "This will never work"
Thanks again for your suggestions and comments.
I find I prefer a Select Case than an IF..THEN decision structure. I was also thinking I may be able to create a workaround if there was a Select Case True, but doesn't appear that that is in the Select Case arsenals.
The ability to short circuit a decision with multiple conditions has been a great addition to the Logical Operators and I use it a lot with IF...THEN. It just occurred to me that I haven't tried more than one other condition, I wonder how _Andalso works with many multiple conditions? For example:
If A>B _Andalso B>C _Andalso C>D _Andalso D=>A THEN Print "This will never work"
Thanks again for your suggestions and comments.