All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

current-stack-length Function

Summary

Returns the size of the current stack.

Package

hcl

Signature

current-stack-length => stack-size

Values
stack-size
A positive integer.
Description

The function current-stack-length returns the current size of the stack, in 32 bit words (in 32-bit implementations) or 64-bit words (in 64-bit implementations).

Compatibility notes

In LispWorks 4.4 and previous on Windows and Linux platforms, current-stack-length was not implemented. This is fixed in LispWorks 5.0 and later.

Examples
(current-stack-length)  =>  16000
See also

extend-current-stack
*sg-default-size*


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35