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

NextPrevUpTopContentsIndex

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

Extend the current stack by the given percentage.

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.

Example

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 - 20 Sep 2017

NextPrevUpTopContentsIndex