home bbs files messages ]

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

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

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

   Message 1,361 of 2,978   
   Dr Engelbert Buxbaum to Bill Leary   
   Re: Real Help Now, seriously   
   10 Feb 05 09:34:21   
   
   From: engelbert_buxbaum@hotmail.com   
      
   Bill Leary wrote:   
      
   >  wrote in message   
   > news:1107740330.903941.60930@z14g2000cwz.googlegroups.com...   
   > > Assign is a Turbo Pascal addition. UCSD Pascal used only reset/rewrite.   
   > >   
   > > rewrite(f) where "f" is a file handle, creates a file named "f".   
   > > rewrite(f,'filename') opens file "filename" under file handle "f".   
   > >   
   > > reset works similarly.   
   > >   
   > > This extension was because the earlier compilers allowed INPUT and   
   > > OUTPUT to be assigned external filenames from the OS, either on the   
   > > commandline or in the JCL. UCSD didn't allow this. Never could figure   
   > > out why they didn't tie INPUT & OUTPUT to PI and PO redirection under   
   > > eXecute. Probably something to do with INTERACTIVE vs. regular I/O, the   
   > > file window, and that begins another conversation about lazy I/O and   
   > > such...   
   >   
   > Sounds reasonable.   
   >   
   > I've just remembered that I've got a book around here somewhere for learning   
   > Pascal that was written in pre-Turbo days.  I see that it isn't on the book   
   > shelf here, so it must be in the cellar.  I'll try to remember to dig it out   
   in   
   > the next few days and see how it explains this.   
      
   Originally, Read and Write were limited to files of type Text, put and   
   get were used to access files of other types. Pain in the neck, and very   
   low in the neck too...   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca