version 1.20, 1999/12/03 18:49:52
|
version 1.21, 2000/05/15 14:04:12
|
Line 157 has? file [IF]
|
Line 157 has? file [IF]
|
-1 dpl ! |
-1 dpl ! |
|
|
User state ( -- a-addr ) \ core,tools-ext |
User state ( -- a-addr ) \ core,tools-ext |
\G @code{User} variable -- @i{a-addr} is the address of a cell containing the |
\G @code{User} variable -- @i{a-addr} is the address of a cell |
\G compilation state flag. 0 => interpreting, -1 => compiling. A |
\G containing the compilation state flag. 0 => interpreting, -1 => |
\G program shall not directly alter the value of @code{state}. The |
\G compiling. A program shall not directly alter the value of |
\G following Standard words alter the value in @code{state}: @code{:} |
\G @code{state}. The following Standard words alter the value in |
\G (colon) @code{;} (semicolon) @code{abort} @code{quit} |
\G @code{state}: @code{:} (colon) @code{;} (semicolon) @code{abort} |
\G @code{:noname} @code{[} (left-bracket) @code{]} (right-bracket) |
\G @code{quit} @code{:noname} @code{[} (left-bracket) @code{]} |
\G @code{;code}. Don't use @code{state}! @xref{Interpretation and |
\G (right-bracket) @code{;code}. Don't use @code{state}! For an |
\G Compilation Semantics} for an alternative. |
\G alternative see @ref{Interpretation and Compilation Semantics}. |
\ Recommended reading: @cite{@code{State}-smartness--Why it is evil |
\ Recommended reading: @cite{@code{State}-smartness--Why it is evil |
\ and how to exorcise it}, |
\ and how to exorcise it}, |
\ @url{http://www.complang.tuwien.ac.at/papers/ertl98.ps.gz}; short |
\ @url{http://www.complang.tuwien.ac.at/papers/ertl98.ps.gz}; short |
\ version: Don't use @code{state}! |
\ version: Don't use @code{state}! |
0 state ! |
0 state ! |
|
|
AUser normal-dp \ the usual dictionary pointer |
AUser normal-dp \ the usual dictionary pointer |