version 1.3, 1994/06/17 12:35:02
|
version 1.4, 1994/08/10 17:22:37
|
Line 437 system that only supplies @code{THEN} is
|
Line 437 system that only supplies @code{THEN} is
|
: endif POSTPONE then ; immediate |
: endif POSTPONE then ; immediate |
@end example |
@end example |
|
|
|
[According to Webster's New Encyclopedic Dictionary, then (adv.) has the |
|
following meanings: ... 2b: following next after in order ... 3d: as a |
|
necessary consequence (if you were there, then you saw them). Forth's |
|
@code{THEN} has the meaning 2b, @code{THEN} in Pascal and many other |
|
programming languages has the meaning 3d.] |
|
|
We also provide the words @code{?dup-if} and @code{?dup-not-if}, so you |
We also provide the words @code{?dup-if} and @code{?dup-not-if}, so you |
can avoid using @code{?dup}. |
can avoid using @code{?dup}. |
|
|
Line 550 The loop is terminated when the border b
|
Line 556 The loop is terminated when the border b
|
@var{limit} is crossed. However, @code{S+LOOP} is not part of the ANS |
@var{limit} is crossed. However, @code{S+LOOP} is not part of the ANS |
Forth standard. |
Forth standard. |
|
|
The @code{?DO} can be replaced by @code{DO}. @code{DO} enters the loop |
@code{?DO} can be replaced by @code{DO}. @code{DO} enters the loop even |
even when the start and the limit value are equal. We do not recommend |
when the start and the limit value are equal. We do not recommend using |
using @code{DO}. It will just give you maintenance troubles. |
@code{DO}. It will just give you maintenance troubles. |
|
|
FOR NEXT UNLOOP |
FOR NEXT UNLOOP |
|
|