www.delorie.com/gnu/docs/gforth/gforth_88.html   search  
 
Buy GNU books!


Gforth Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.8 Control Structures

Control structures in Forth cannot be used interpretively, only in a colon definition(11). We do not like this limitation, but have not seen a satisfying way around it yet, although many schemes have been proposed.

5.8.1 Selection  IF ... ELSE ... ENDIF
5.8.2 Simple Loops  BEGIN ...
5.8.3 Counted Loops  DO
5.8.4 Arbitrary control structures  
5.8.5 Calls and returns  
5.8.6 Exception Handling  


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003