home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,951 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 117,125 of 117,951   
   dxf to albert@spenarnc.xs4all.nl   
   Re: Fetch string from comment   
   06 Mar 25 23:07:47   
   
   From: dxforth@gmail.com   
      
   On 6/03/2025 10:14 pm, albert@spenarnc.xs4all.nl wrote:   
   > In article <74a5b61b65b89c594e3f653a0266dc874d6cc739@i2pn2.org>,   
   > dxf   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.   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca