mirror of
https://github.com/nineties/planckforth
synced 2024-12-26 21:58:42 +01:00
small typos, error in documentation for W
This commit is contained in:
parent
7a82930a9e
commit
4f2518c382
1 changed files with 4 additions and 3 deletions
|
@ -257,9 +257,10 @@ cs i, '#, 'L, k , '=, '~, 'L, k:k0-, '=, '|, 'e, l!
|
||||||
|
|
||||||
\ 'W' ( "name" -- c-addr )
|
\ 'W' ( "name" -- c-addr )
|
||||||
\ Skip leading spaces (' ' and '\n'),
|
\ Skip leading spaces (' ' and '\n'),
|
||||||
\ Read name, then return its address and length.
|
\ Read name, then return its address.
|
||||||
\ The maximum length of the name is 63. The behavior is undefined
|
\ The maximum length of the name is 63. The behavior is undefined
|
||||||
\ when the name exceeds 63 characters,
|
\ when the name exceeds 63 characters.
|
||||||
|
\ The buffer will be terminated with '\0'.
|
||||||
\ Note that it returns the address of statically allocated buffer,
|
\ Note that it returns the address of statically allocated buffer,
|
||||||
\ so the content will be overwritten each time 'w' executed.
|
\ so the content will be overwritten each time 'w' executed.
|
||||||
|
|
||||||
|
@ -2539,7 +2540,7 @@ need-defined (read)
|
||||||
;
|
;
|
||||||
|
|
||||||
: export
|
: export
|
||||||
\ Move latest to the boottm of the dictionary.
|
\ Move latest to the bottom of the dictionary.
|
||||||
latest
|
latest
|
||||||
begin dup name>link while
|
begin dup name>link while
|
||||||
name>link
|
name>link
|
||||||
|
|
Loading…
Reference in a new issue