Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

VBScript AND operator

$
0
0
Dear Members,

This is known issue and just wanted to check an alternate solution for AND operator.

In If Condition i am using AND and i wanted to exit condition if first condition is false.

If(a() AND b())

End If

This way it executes both functions and verify later. But if a() returns false i need to exit from If. I know in VB AND executes both and later validates. Any alternate solution please for such validation?

Thanks in advance.
jagan.

Viewing all articles
Browse latest Browse all 688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>