ProtoLang.net

Reference: Clear

☰ Hide Sidebar
TOKEN CLEAR
ALIAS None

The Clear Command is used to delete all variables from global scope memory (Read about scope in Functions).

Syntax

The short syntax structure uses the word CLEAR:

CLEAR

The long syntax structure uses the word CLEAR:

CLEAR

Examples

Example: Clearing all Variables

NEW INT x = 5
NEW INT y = 10
CLEAR // x and y are deleted and do not exist