6.1.0560
>IN
to-in
CORE
( --
a-addr
)
a-addr
is the address of a cell containing the offset in characters from the start of the input buffer to the start of the parse area.
Testing:
VARIABLE
SCANS
:
RESCAN? -1 SCANS
+!
SCANS
@
IF
0
>IN
!
THEN
;
T{ 2 SCANS
!
345 RESCAN?
-> 345 345 }T
:
GS2 5 SCANS
!
S"
123 RESCAN?"
EVALUATE
;
T{ GS2 -> 123 123 123 123 123 }T
\
These tests must start on a new line
DECIMAL
T{ 123456
DEPTH
OVER
9
<
35
AND
+
3
+
>IN
!
-> 123456 23456 3456 456 56 6 }T
T{ 14145 8115
?DUP
0=
34
AND
>IN
+!
TUCK
MOD
14
>IN
!
GCD calculation
-> 15 }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
>IN
!
#
#>
#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]
\