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,927 messages   

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

   Message 117,249 of 117,927   
   dxf to Hans Bezemer   
   Re: "The Best Programming Language for t   
   28 Apr 25 14:55:54   
   
   From: dxforth@gmail.com   
      
   On 27/04/2025 8:28 pm, Hans Bezemer wrote:   
   > ...   
   > Another handy word is >STRING that converts a "raw" string to a fully   
   qualified string ( a1 n1 -- a2) that can handle a COUNT (you have the carnal   
   knowledge - you take care of the "how"). E.g. for counted strings it might be:   
   >   
   > : >STRING swap over over dup char+ rot cmove c! ;   
      
   For forths that have PACK ( a u a2 -- a2 )   
      
   : >STRING ( a u -- a )  over pack ;   
      
   --- 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