Skip to content

Files

Latest commit

 

History

History
22 lines (16 loc) · 515 Bytes

end.md

File metadata and controls

22 lines (16 loc) · 515 Bytes

END

Syntax

END [<value>]

Terminates execution and returns to the Operating System (i.e. to the Sinclair BASIC interpreter). An optional value can be used (defaults to 0 if not specified) that will be returned to the OS.

PRINT "HELLO WORLD"
END 32: REM The value 32 will be returned to the OS

END is also a keyword used to close scopes in FUNCTION and SUB and compound sentences in IF, WHILE.

See Also