Are these two snippets equivalent in VBScript?
If x <> empty
'do something
End if
If not isempty(x)
'dosomething
End if
Context:
I want to rewrite a condition from
If ((Not IsEmpty( Var ) ) And ( Var <> "" ) ) Then
to the less verbose
If Var <> Empty And Var <> "" Then
Aucun commentaire:
Enregistrer un commentaire