MMBasic supports a number of modern structured statements.
The DO WHILE … LOOP command and its variants make it easy to build loops without using the GOTO statement. Defined subroutines and functions make it easy to add your own commands to MMBasic.
The IF… THEN command can span many lines with ELSEIF … THEN, ELSE and ENDIF statements as required and also spaced over many lines.
IF THEN ' start a multiline IF
ELSEIF <condition> THEN ' the ELSEIF is optional
ELSE ' the ELSE is optional
ENDIF ' must be used to terminate the IF