Anonymous user
Pointers and references: Difference between revisions
→{{header|Forth}}
(added standard ml) |
|||
Line 306:
10 cells + \ adds 10 cells
aligned \ rounds the address up to the next cell
An contiguous block of memory may be named with CREATE and allocated with ALLOT.
create array 20 cells allot
As an example, here is some code to add together an array of cells, expanded and commented:
|