Fetch string from comment

Liste des GroupesRevenir à cl forth 
Sujet : Fetch string from comment
De : sjack (at) *nospam* dontemail.me (sjack)
Groupes : comp.lang.forth
Date : 03. Mar 2025, 19:17:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vq4rmt$1dv1v$1@dont-email.me>
User-Agent : tin/2.6.4-20240224 ("Banff") (Linux/6.8.0-54-generic (x86_64))
                          String fetched from comment                          



Comment string

( This string is a simple comment)
( The comment can be enhanced to include parethises in the string)

( This string is an (enhanced) comment)


Accessing enhanced comments

A comment string, when interpreting, can be found in the
input buffer.  It can be accessed and used if it's consumed
or moved before the end of line.


.( ( ccc<)> -- )  Print enhanced comment string

cr i. .( This string, an enhanced comment, is consumed (gets printed))
 --> This string, an enhanced comment, is consumed (gets printed)


s( ( ccc<)> -- s )  Save enhanced comment string

s( "MOO") s( The sound of a cow)
The above strings are saved in a ring buffer and
return string references to be used soon.

cr i. ul( tell ) tab tell
 --> The sound of a cow "MOO"


,(  ( ccc<)> -- )  Compile enhanced comment string

here ,( This string with '"bar" (foo)' is compiled)
here om cr i. type
 --> This string with '"bar" (foo)' is compiled



Notes


i.          Print "-->"
ul(...)     Underline output of enclosed code
tell        COUNT TYPE
om          OVER MINUS

-fin-
Note The underline didn't show in the post.


Date Sujet#  Auteur
3 Mar 25 * Fetch string from comment28sjack
3 Mar 25 +* Re: Fetch string from comment2minforth
4 Mar 25 i`- Re: Fetch string from comment1sjack
4 Mar 25 +* Re: Fetch string from comment10dxf
4 Mar 25 i`* Re: Fetch string from comment9sjack
4 Mar 25 i `* Re: Fetch string from comment8dxf
5 Mar 25 i  +* Re: Fetch string from comment4mhx
5 Mar 25 i  i+- Re: Fetch string from comment1Anton Ertl
5 Mar 25 i  i`* Re: Fetch string from comment2dxf
6 Mar 25 i  i `- Re: Fetch string from comment1dxf
5 Mar 25 i  `* Re: Fetch string from comment3sjack
5 Mar 25 i   `* Re: Fetch string from comment2sjack
5 Mar 25 i    `- Re: Fetch string from comment1minforth
4 Mar 25 +* Re: Fetch string from comment13mhx
5 Mar 25 i`* Re: Fetch string from comment12Gerry Jackson
5 Mar 25 i `* Re: Fetch string from comment11Anton Ertl
5 Mar 25 i  +* Re: Fetch string from comment9mhx
5 Mar 25 i  i`* Re: Fetch string from comment8Anton Ertl
6 Mar 25 i  i `* Re: Fetch string from comment7mhx
6 Mar 25 i  i  `* Re: Fetch string from comment6Anton Ertl
7 Mar 25 i  i   +- Re: Fetch string from comment1mhx
7 Mar 25 i  i   `* Efficient implementation of Finite State Machines (FSM)4Gerry Jackson
9 Mar 25 i  i    `* Re: Efficient implementation of Finite State Machines (FSM)3Anton Ertl
10 Mar 25 i  i     +- Re: Efficient implementation of Finite State Machines (FSM)1Gerry Jackson
11 Mar 25 i  i     `- Re: Efficient implementation of Finite State Machines (FSM)1Anton Ertl
5 Mar 25 i  `- Re: Fetch string from comment1Gerry Jackson
4 Mar 25 +- Re: Fetch string from comment1sjack
7 Mar 25 `- Re: Fetch string from comment1sjack

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal