BalaReva - Tip of the Day #4 Ternary Operator

Today we going to see how to use the ternary Operator if .

Single condition

if(strCondition="BalaReva","Yes. This is BalaReva","No. This is not BalaReva")

Multiple condition

if(blnCondition=True AndAlso strCondition="BalaReva" ,1,  0 )

Sample : Ternary.zip (22.0 KB)

Video Demo :

Previous Tip : BalaReva - Tip of the Day #3

Thank you
Balamurugan.S

5 Likes