|
|
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.17.6.1.2212 STRING,
( c-addr u -- )
Append the string-span described by c-addr u to the last created data definition placed as a counted string.
: STRING, HERE OVER 1+ ALLOT PLACE ;
See:
17.6.1.2212 SLITERAL,
R.19.6.1.2212 SLITERAL,,
R.17.6.1.0910 PLACE,
R.17.6.1.0910 PLACE
( c-addr u dest -- )
Copy the string-span desribed by c-addr u to the destination addr so that then the dest points to a counted string containing the copy of the string-span. An ambigous condition exists if the target area pointed to by dest does not contain enough space to hold the copy of the string-span.
: PLACE 2DUP C! 1+ SWAP CMOVE ;
See:
17.6.1.2212 SLITERAL,
R.17.6.1.0920 +PLACE,
R.17.6.1.0920 +PLACE / APPEND
( c-addr u dest -- )
Copy the string-span desribed by c-addr u to the end of the counted string pointed to by dest. After the operation the complete length of the dest counted string is the sum of both lenghts. An ambigous condition exists if the target area pointed to by dest does not contain enough space to hold the characters of the complete string.
See:
17.6.1.2212 SLITERAL,
R.17.6.1.0910 PLACE,
Table of Contents
Next Section