clear Statement

The clear statement sets all local and common variables to 0 in a main program.

Syntax

clear

Description

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

See Also

assigned() Function

Assignment

common Statement

Statements and Functions

subroutine Statement

Variables