Created
March 9, 2019 13:18
-
-
Save ivand58/55f9221aa8f1a080b54df9e174ee7c05 to your computer and use it in GitHub Desktop.
deref example in Forth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 variable xx | |
: test 5 0 do i xx @ execute . loop ; | |
: dec ['] 1- xx ! ; | |
: inc ['] 1+ xx ! ; | |
inc test | |
dec test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment