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,166 of 117,927    |
|    dxf to Paul Rubin    |
|    Re: "The Best Programming Language for t    |
|    06 Apr 25 12:40:25    |
   
   From: dxforth@gmail.com   
      
   On 5/04/2025 5:16 pm, Paul Rubin wrote:   
   > dxf writes:   
   >> : FOPEN ( a n fam -- ) open-file s" open" ferr cf ! ;   
   >   
   > I'm used to functions like this returning file handles instead of   
   > storing into a global var, so you can have more than one file active at   
   > the same time.   
      
   The code is from an installer app that goes back to the earliest days   
   of DX-Forth. I never had reason to extend its file handling.   
      
   BTW 99% of apps I write still only require one input and one output   
   file, in which case only two handles are needed. I have a library for   
   that which allows more handles to be created if need be.   
      
   --- 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