Rem EndIf marks the end of an If Then block. End Rem i=5 If i<10 Print "i<10" EndIf