Identifier: scope

Type

atable

Description

The identifier table (atable) into which new identifiers without an atable prefix are stored. At the start of a command frame (procedure, macro, function etc.) scope has a value local.

The atable pointed to by scope is also added to the list of atables when looking for existing identifiers without an atable prefix.

When scope is changed within a command frame, its new value applies until the command frame is exited, and its value then reverts automatically to its value in the parent command frame.

See Also

Commands:

atable, unload

Identifiers:

global (atable), local (atable)

Structures:

atable.search_path