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 2,930 of 2,978   
   Robert Prins to Marco van de Voort   
   Re: Virtual Pascal: BlockRead open files   
   15 Aug 18 20:22:27   
   
   From: robert@prino.org   
      
   On 2017-05-07 08:34, Marco van de Voort wrote:   
   > On 2017-04-10, Robert Prins  wrote:   
   >> Does anyone know what I need to do to BlockRead a file that's currently   
   open?   
   >> Normal Read(Ln) doesn't seem to care, but BlockRead gives me an error 32.   
   >   
   > Aren't untyped file access being read/write by default? Try to   
   > fiddle with filemode to try to make it readonly.   
      
   Back at this again, and setting FileMode to $40 (open_access_ReadOnly OR   
   open_share_DenyNone) works when I run the program in the VP IDE. From the   
   command line is still results in an RTE 32.   
      
   Robert   
   --   
   Robert AH Prins   
   robert(a)prino(d)org   
      
   --- 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