Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

alloc

alloc

type: function (subr) 
location: built-in
source file: xldmem.c
Common LISP compatible: no
supported on: all machines

SYNTAX

(alloc  <size> )
        <size>          -       an integer expression

DESCRIPTION

The ALLOC function changes the number of memory nodes allocated per segment whenever memory is expanded. The previous number of nodes allocated per segment is the value returned as the result. The power up default if 1000 nodes per segment. Note that ALLOC does not, itself, expand memory. You need to execute the EXPAND function to do the expand operation.

EXAMPLES

(room)                                  ; prints  Nodes:       4000
                                        ;         Free nodes:  1669
                                        ;         Segments:    4
                                        ;         Allocate:    1000
                                        ;         Total:       52570
                                        ;         Collections: 8
                                        ; returns NIL
(alloc 2000)                            ; returns 1000
(room)                                  ; prints  Nodes:       4000
                                        ;         Free nodes:  1655
                                        ;         Segments:    4
                                        ;         Allocate:    2000
                                        ;         Total:       52570
                                        ;         Collections: 8
                                        ; returns NIL


Go to the first, previous, next, last section, table of contents.