URL:
<https://savannah.gnu.org/bugs/?56631>
Summary: help does not print full example
Project: Gforth
Submitted by: rrt
Submitted on: Mon 15 Jul 2019 12:43:38 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
e.g. with current git master
$ gforth
Gforth 0.7.9_20190711, Copyright (C) 1995-2018 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `help' for basic help
help noname
doc/gforth.txt:5466
Gforth provides an alternative way of doing this, using two separate
words:
'noname' - gforth "noname"
The next defined word will be anonymous. The defining word will
leave the input stream alone. The xt of the defined word will be given
by 'latestxt'.
'latestxt' - xt gforth "latestxt"
xt is the execution token of the last word defined.
The previous example can be rewritten using 'noname' and 'latestxt':
Defer deferred
noname : ( ... -- ... ) ok
Note that the output ends part way through the @example section.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56631>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
_______________________________________________
bug-gforth mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gforth