Adding a READ ... DATA like functionality to Forth
forth example code
Once you start coding in Forth for a while, you may come across a situation where you want to write a sequence of bytes to some memory location (e.g. if you want to store the sprite data for a game). Out of the box, Forth provides the word C, to store arrays of data which can then be written to the desired memory address using a DO…LOOP and MOVE in your code.
Read more...