6.2.1177
DEFER@
defer-fetch
CORE EXT
(
xt
1
--
xt
2
)
xt
2
is the execution token
xt
1
is set to execute. An ambiguous condition exists if
xt
1
is not the execution token of a word defined by
DEFER
, or if
xt
1
has not been set to execute an xt.
See:
6.2.0698 ACTION-OF
,
6.2.1173 DEFER
,
6.2.1175 DEFER!
,
6.2.1725 IS
.
Implementation:
:
DEFER@
(
xt1 -- xt2 )
>BODY
@
;
Testing:
T{
DEFER
defer4 -> }T
T{
'
*
'
defer4
DEFER!
-> }T
T{ 2 3 defer4 -> 6 }T
T{
'
defer4
DEFER@
->
'
*
}T
T{
'
+
IS
defer4 -> }T
T{ 1 2 defer4 -> 3 }T
T{
'
defer4
DEFER@
->
'
+
}T
Forth 2012
Forth 2012
Glossary
Foreword
Proposals Process
200
x
Membership
Introduction
Terms, notation, and references
Usage requirements
Documentation requirements
Compliance and labeling
Glossary
Block word set
Double-Number word set
Exception word set
Facility word set
File-Access word set
Floating-Point word set
Locals word set
Memory-Allocation word set
Programming-Tools word set
Search-Order word set
String word set
Extended-Character word set
Rationale
Bibliography
Compatibility analysis
Portability guide
Reference Implementations
Test Suite
Alphabetic list of words
DEFER@
!
#
#>
#S
'
(
*
*/
*/MOD
+
+!
+LOOP
,
-
.
."
/
/MOD
0<
0=
1+
1-
2!
2*
2/
2@
2DROP
2DUP
2OVER
2SWAP
:
;
<
<#
=
>
>BODY
>IN
>NUMBER
>R
?DUP
@
ABORT
ABORT"
ABS
ACCEPT
ALIGN
ALIGNED
ALLOT
AND
BASE
BEGIN
BL
C!
C,
C@
CELL+
CELLS
CHAR
CHAR+
CHARS
CONSTANT
COUNT
CR
CREATE
DECIMAL
DEPTH
DO
DOES>
DROP
DUP
ELSE
EMIT
ENVIRONMENT?
EVALUATE
EXECUTE
EXIT
FILL
FIND
FM/MOD
HERE
HOLD
I
IF
IMMEDIATE
INVERT
J
KEY
LEAVE
LITERAL
LOOP
LSHIFT
M*
MAX
MIN
MOD
MOVE
NEGATE
OR
OVER
POSTPONE
QUIT
R>
R@
RECURSE
REPEAT
ROT
RSHIFT
S"
S>D
SIGN
SM/REM
SOURCE
SPACE
SPACES
STATE
SWAP
THEN
TYPE
U.
U<
UM*
UM/MOD
UNLOOP
UNTIL
VARIABLE
WHILE
WORD
XOR
[
[']
[CHAR]
]
.(
.R
0<>
0>
2>R
2R>
2R@
:NONAME
<>
?DO
ACTION-OF
AGAIN
BUFFER:
C"
CASE
COMPILE,
DEFER
DEFER!
DEFER@
ENDCASE
ENDOF
ERASE
FALSE
HEX
HOLDS
IS
MARKER
NIP
OF
PAD
PARSE
PARSE-NAME
PICK
REFILL
RESTORE-INPUT
ROLL
S\"
SAVE-INPUT
SOURCE-ID
TO
TRUE
TUCK
U.R
U>
UNUSED
VALUE
WITHIN
[COMPILE]
\