; Then Example ; ------------ ; The pilot's status after the last battle hull=65 shields=0 ; Then marks the end of the If condition - the code to run comes after it If hull>=75 Then Print "Hull at "+hull+"% - all systems go!" ElseIf hull>=40 Then Print "Hull at "+hull+"% - fly carefully out there." Else Print "Hull at "+hull+"% - return to base immediately!" End If ; In the single-line form, Then is followed directly by the command to run If shields=0 Then Print "Warning: shields are down!" Print "" Print "Press any key to close the example" WaitKey End