Displaying posts tagged: colorforth

Keystroke commands in Colorforth

No Comments
It's been years since I last wrote a keystroke driven Colorforth program, so I was trawling through the documentation and old code hoping it would jog my memory. It turns out that one word, pad (guessing it's short for 'keypad'), is all that it takes. Under normal circumstances, that is, when the CF system is in ...

Sorting in Colorforth

9 Comments
I've written a small Colorforth application, a demonstration of selection sort. All it does right now is display a randomized array, sort its contents and display the result. With a little extra work it could be made to 'animate' the sort. The code is laid out in two blocks, one containing the initialization and sorting words, ...