DSZ Variable - Get Available User Memory

Syntax

DSZ

Description

For BBj-specific information, see the DSZ Variable - BBj.

The DSZ variable returns the number of unused bytes remaining in the workspace.

The workspace DSZ is affected by variable usage, GOSUB/FOR depth, the size of the program in the workspace, and variables in public programs (when executing a public program). The DSZ is otherwise not affected. The size of the workspace is determined by the START verb and can be reported using the TCB() function.

Examples

>PRINT DSZ
42700

See Also

Variables - Alphabetical Listing