mk90.basic.statements
Statement ENDIF
Close the innermost structured IF.
Syntax
ENDIFParameters
No parameters.
Behavior
Required even if the IF has no ELSE. Mismatched or missing closure is a compile-time syntax error.
Example
IF 1 THEN
PRINT "YES"
ENDIFLimits and diagnostics
A standalone line.
See also
IF · ELSE · Language syntax