Allocates additional memory for AutoLISP
(expand n-expand)
Arguments
An integer indicating the amount of additional memory to be allocated. Memory is allocated as follows:
where n-alloc is the current segment size.
Return Values
An integer indicating the number of free conses divided by n-alloc.
Examples
Set the segment size to 100:
_$ (alloc 100)
1000
Allocate memory for two additional segments:
_$ (expand 2)
82
This ensures that AutoLISP now has memory available for at least 200 additional symbols, strings, usubrs and reals each, and 8200 free conses.
alloc function.
The