PFE - Portable Forth Environment - pfe Forth Wordsets

PFE 0.33.71 Homepage SourceForge Download Documentation -Overview -The PFE Manual old manual / (book) -ChangeLog -Authors -License (LGPL) -Wordsets / (book) -Functions .. (book) -Dp of ANS Forth -The 4thTutor -Forthprimer.pdf - Old Wordsets - Old Words List Forth Links * Forth Repository * Taygeta Compilation * TinyBoot FirmWare * FiCL, Free Forth * Research Vienna * Research Bournemouth * zForth WebRing Other Links * Tektronix/MPT * Forth Org. (FIG) * Forth Inc. * MPE Ltd. Forths * SF Win32Forth * PD Win32Forth * Neil Bawd generated (C) Guido U. Draheim guidod@gmx.de | ## Memory-Alloc extension `ALLOCATE``( size# -- alloc*! 0 | 0 errno#! )``[ANS]` => `"[ANS] FORTH"` Allocate a chunk of memory from the system heap. use `FREE` to release the memory area back to the system. A code of zero means success. primitive code = [p4_allocate] `FREE``( alloc* -- errno# )``[ANS]` => `"[ANS] FORTH"` Free the memory from `ALLOCATE` A code of zero means success. primitive code = [p4_free] `RESIZE``( alloc* newsize# -- alloc*' errno# )``[ANS]` => `"[ANS] FORTH"` Resize the system memory chunk. A code of zero means success. Our implementation returns the old pointer on failure. primitive code = [p4_resize]