41

Syntax Summary
ERASE (see Chapter 15)
Use
ERASE deletes files. (See also KILL and DEL)
Syntax
ERASE rest-of-line
where
rest-of-line is everything op to the end of the line
ERR (see Chapter 16)
Use ERR is a function which returns the numberof the latest error.
Syntax ERR

ERROR (see Chapter 16)
Use ERROR raises an error.
Syntax ERROR integer-expression

ERROR$ (see Chapter 16)
Use ERRORS is a function which returns the message associated with an error number.
Syntax ERRORSIinteger-expressionl

EXIT DO, EXIT FOR (see ChapterS)
Use
EXIT DX and EXIT FOR are used to get out of a loop from the middle without
waiting forthe loop to complete. EXIT DO and EXIT FUR are usedto leave DX and FOR loops respectively
Syntax EXIT DO
or EXIT FOR

EXIT MODULE (see Chapter 7)
Use
EXIT MODULE is used to leave a module before the final END MODULE
statement.
Syntax EXIT MODULE

EXIT SUB, EXIT FUNCTION (see Chapter 6)
Use EXIT SUB and EXIT FUNCTION are used to terminate a subprogram or routine function before the terminating END SUB or END FUNCTION is reached.
Syntax EXIT SUB
or EXIT FUNCTION
BASIC 2 PIus: User Guide & Quick Reference 41

41