Clear Command

Purpose

Deletes all variables.

Syntax

Clear v1[,v2,…]

v1, v2, … : variables

Description

This command cannot be used inside loops or subroutines. A Clear is performed automatically when the program starts up. For arrays use Erase.

Example

Local Int32 x = 2, y = 2

OpenW # 1

Print x, y       // Prints 2 2

Clear x, y

Print x, y       // Prints 0 0

Remarks

Synonymous with Clear you can use Clr.

See Also

Clr, Erase

{Created by Sjouke Hamstra; Last updated: 25/09/2014 by James Gaite}