- KERNEL
- Added PERFORM ( addr -- )
- : perform \ addr --
- EXECUTE contents of addr if non-zero.
- Forced initialisation of SYSPAD in startup and callback entry
- code.
- Optimised more USER variables.
- Added:
- : data-file \ -- size ; DATA-FILE <filename>
- Loads a file to memory at *\fo{HERE} and *\fo{ALLOT}s memory.
- The size of the file is returned. This is a good way to load
- data directly into the dictionary at compile time. It avoids
- having to convert binary data into streams of digits and commas.
- For example, DocGen keeps a CSS file in the dictionary:
- CREATE BootstrapAddr \ --
- data-file bootstrap.min.css \ load the file
- constant /Bootstrap \ keep the length
Raw Paste