bug-gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gforth] [bug #56631] help does not print full example


From: Reuben Thomas
Subject: [Bug-gforth] [bug #56631] help does not print full example
Date: Mon, 15 Jul 2019 08:43:41 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]