GLBasic Programming/BASIC/IF...THEN...ELSEIF...ELSE
Tools
General
Sister projects
In other projects
This part is about the commandsIFTHENELSEIFELSE.
LET number = -3 //Or your ownIF number<0 THEN PRINT "Number is negative"ELSEIF number>0 THEN PRINT "Number is positive"ELSE PRINT "Number is zero"END IF
I hope you got it now.
| Previous: BASIC/User Input | Index | Next: BASIC/WHILE...WEND |