Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.551 showstats

showstats

Displays some statistics about the current LUX session; mostly helpful in debugging the LUX program. Depending on the way in which your version of LUX was compiled, the following columns may feature in the answer:

nall

number of items for which memory is allocated.

talloc

total number of allocated bytes.

sz

total number of bytes set aside by the operating system for this LUX session.

ign

ignore level (ignore-resume).

std

statement depth.

exl

execution level.

cpl

compilation level.

lst

list stack index.

nvar

number of defined named variables.

tvar

index of temporary variables.

exe

index of permanent executables.

texe

index of temporary executables.

sstk

symbol stack index.

ctxt

current execution context.

tm

index of marked temporary variables.

At the main execution level, the values of ign, std, exl, cpl, lst, tvar, exe, texe, sstk, ctxt, and tm should all be zero.

See also: debugging