Marks the end of a conditional block.
If expression [Then]
Statements...
Endif
Endif marks the end of a conditional block. Optionally, the variant End If can be used instead. See If for more information on If blocks.
If | Else | Elseif
Language reference
' Simple variable check:
If
a
=
1
Print
"a equals one"
Endif
' Same, using End If instead of Endif:
If
a
=
1
Print
"a equals one"
End
If