|
|
The following page contains reserved words. These are not part of the ANS Forth Standard. They are just proposed by various people and published here at FORTH.SF.NET for public review. |
:NON:
|
TOC |
R.6.1.2008 PARSE-WORD
( "ccc" -- c-addr u )
Skip leading spaces and parse name delimited by space.
c-addr is the address (within the input buffer) and u is the length of the parsed string. If the parse area was empty, the resulting string has a zero length.
See:
3.4.1 Parsing,
6.2.2008 PARSE,
A.6.2.2008 PARSE,
6.1.2450 WORD,
R.6.1.2160 -ROT
( x1 x2 x3 -- x3 x1 x2 )
Rotate the top three stack entries.
See:
6.1.2160 ROT
R.6.2.2440 BETWEEN
( n1|u1 n2|u2 n3|u3 -- flag )
Perform a comparison of a test value n1|u1 with a lower limit n2|u2 and an upper limit n3|u3, returning true if either (n2|u2 <= n3|u3 and (n2|u2 <= n1|u1 and n1|u1 <= n3|u3)) or (n2|u2 > n3|u3 and (n2|u2 <= n1|u1 or n1|u1 <= n3|u3)) is true, returning false otherwise. An ambiguous condition exists if n1|u1, n2|u2, and n3|u3 are not all the same type.
See:
6.2.2440 WITHIN
A.6.2.2440 WITHIN
R.6.1.0290 2+
( n1|u1 -- n2|u2 )
Add two (2) to n1|u1 giving the sum n2|u2.
See:
6.1.0290 1+
R.6.1.0300 2-
( n1|u1 -- n2|u2 )
Subtract two (2) from n1|u1 giving the difference n2|u2.
See:
6.1.0300 1-
Table of Contents
Next Section