[comp.lang.forth] IF ... ELSE ... THEN

gamber@cosmo.UUCP (Johannes Teich) (02/08/90)

In article <284.UUL1.3#5129@willett.UUCP>
           <2.71SW6xds13@ficc.uu.net> <51523@bbn.COM>
           <25C9CFEE.22487@maccs.dcss.mcmaster.ca> Tom Almy writes:
 
 > How about:
 >         IF      -->  THEN       ( as you propose )
 >         THEN    -->  ENDIF      ( as existed in figForth )
 >         NOOP    -->  IF         ( a dummy for clarity )
 > so one gets:
 >
 >         IF  <condition>  THEN  <true part>  ELSE <false part>  ENDIF
 
I prefer:     <condition>  IFTRUE <true part>  ELSE <false part>  ENDIF
 
Maybe the condition is already present.
 
   Johannes Teich                                 gamber@cosmo.UUCP