[OpenBIOS] C's continue statement in Forth?
programmingkidx at gmail.com
Mon Aug 20 00:38:45 CEST 2012
I was wondering if there is a way to implement C's continue statement in Forth. I have this loop, and some times I only want to execute part of it, and then continue on to the next iteration without finishing the current iteration. Is there any way of doing this in OpenBIOS?
\ conditional code
CONTINUE \ skip rest of loop
\ rest of loop ...
My guess to a possible solution would be to manipulate the return stack. Any body have any ideas?
More information about the OpenBIOS