[Top][All Lists]

[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


                 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



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 
Gforth provides an alternative way of doing this, using two separate

'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:


  Message sent via Savannah

reply via email to

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