Re: Fetch string from comment

Liste des GroupesRevenir à cl forth 
Sujet : Re: Fetch string from comment
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forth
Date : 04. Mar 2025, 06:08:49
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <eaf8e4d9ac9957e6b411400e1490a5aa17fb90d1@i2pn2.org>
References : 1
User-Agent : Mozilla Thunderbird
On 4/03/2025 5:17 am, sjack wrote:
                          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
 
...

Not understanding where it fits in.  Is this meant to be in lieu of
."  ,"  S"  etc ?


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