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

extend-current-stack Function

Summary

Extends the current stack.

Package

hcl

Signature

extend-current-stack &optional how-much => size

Arguments
how-much
What percentage the stack should be extended by. The default is 50.
Values
size
The new size of the stack, after extending.
Description

The function extend-current-stack extends the current stack by the percentage given by how-much.

Compatibility notes

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

Examples

To double the size of the current stack:

(hcl:extend-current-stack 100)
See also

current-stack-length
*stack-overflow-behaviour*


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