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 : 06. Mar 2025, 13:07:47
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <7e740c73ed0e5acce124fa76cd56d59050dc014e@i2pn2.org>
References : 1 2 3 4 5
User-Agent : Mozilla Thunderbird
On 6/03/2025 10:14 pm, albert@spenarnc.xs4all.nl wrote:
In article <74a5b61b65b89c594e3f653a0266dc874d6cc739@i2pn2.org>,
dxf  <dxforth@gmail.com> wrote:
On 5/03/2025 6:57 pm, mhx wrote:
...
I am not a fan of S\" TYPE as it tends to move the parsing and
interpretation problems to parts of the code / library that may
not be prepared for it, or where it would be quite an overhead
to anticipate every present and future possibility.
>
What finally drove me to implement escapes was this:
>
: RC$ ( -- a n )  \ row/col string
  bin? if  s" \00"  end  s" 000" drop #asc ;
>
Every other way of doing it looked like a hack.  ... And it solved
the embedded double-quote problem.
 
I don't understand this.
"every other way to do what?".
( -- a n ) i s not a specification.
If you introduce a word like RC$ tell us what it is supposed to
do.

The function in question is s" \00" which returns an adr/len string
consisting of one byte whose value is $00.
 


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