Clr Command

Purpose

Deletes all variables listed after this command.

Syntax

Clr x1[,x2,...]

x1,x2,...:variables of any type

Description

The variables in the list to be deleted with Clr must be separated by commas. The arrays cannot be deleted using Clr.

Example

Dim a$ = "Init"

Dim ar$(100)

Print a$        // "Init"

Clr a$

Erase ar$()

Print a$        // ""

See Also

Clear, Erase

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