bugGforth - Bugs: bug #56631, help does not print full example

 
 

bug #56631: help does not print full example

Submitter:  Reuben Thomas <rrt>
Submitted:  Mon 15 Jul 2019 12:43:38 PM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  paysan
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 15 Jul 2019 01:04:20 PM UTC, comment #2: 

Thanks for the explanation!

Reuben Thomas <rrt>
Mon 15 Jul 2019 12:50:05 PM UTC, comment #1: 

Type "n" and return for more.  help is just like locate, but instead works with the gforth.txt file.  The help system has no idea when the text of a particular section ends.

Would be nice to have if it knows, but typing "n" for more is good enough.

Bernd Paysan <paysan>
Group administrator
Mon 15 Jul 2019 12:43:38 PM UTC, original submission:  

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.

Reuben Thomas <rrt>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by paysan (Posted a comment)
  • -email is unavailable- added by rrt (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-15 paysan Open/ClosedOpen Closed
    2019-07-15 paysan Severity3 - Normal 2 - Minor
        StatusNone Wont Fix
        Assigned toNone paysan

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code