basic.clear

Statement/BASIC Program, Releases: AP and R83

Initializes all variables.

Description

sets all local and common variables to 0 (zero) in a 'main' program.

In a subroutine, only the local variables are affected. Named common variables are not affected by the 'clear' statement.

See Also

Command Name Type Description
variables Definition store a number, string, file descriptor, or select list, and may change dynamically throughout the execution of the program.
basic.assigned Function Determines if variable has been assigned a value.
basic.subroutine Statement Defines program as external subroutine.
basic.assignment Definition Assigns value to variable.
basic.statements Definition Definition of statements and functions.
basic.common Statement Declares common variables.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.