Wednesday, 3 June 2015

Can we have IF condition without End if?

Dim var : var = 0
'Writing the IF condition without End if
IF var=0 THEN MSGBOX "Zero" ELSE "Non Zero"

Thing is that we can avoid ENDIF, in case we are writing the IF condition in single line. 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.