Statements

First of all, let’s ask ourselves: what is a statement?

A statement is a line of code or expression that performs a specific action or operation. Each statement is an instruction to the computer that tells it what to do, whether it’s executing a calculation, manipulating data, controlling program flow, or interacting with the user. There are different types of statements:

  • Assignment Statements , such as A = B + C

  • Control Flow Statements, such as conditional statements (IF, ELSE) and loops (FOR, WHILE, REPEAT).

  • I/O Statements such as (PRINT, PAUSE, INPUT...)

List

Here is the complete list of all possible statement instructions available:

AREAD

ARUN

BEEP

CLEAR

CLS

CURSOR

DATA

DEGREE

DIM

END

FOR

TO

STEP

GCURSOR

GOSUB

GOTO

GPRINT

GRAD

IF

INPUT

LET

LOCK

NEXT

ON ERROR

ON GOSUB

ON GOTO

OPN

PAUSE

POINT

PRINT

RADIAN

RANDOM

READ

REM

RESTORE

RETURN

STOP

THEN

TRON

TROFF

UNLOCK

USING

WAIT