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,631 of 2,978   
   Alan to All   
   Write and Flush   
   14 Mar 08 15:45:28   
   
   From: alan@local.bin   
      
   I am wondering whether or not a call to the Flush() procedure is   
   required after a call to Write(Output) (assuming Output is tied to the   
   screen)?   
      
   Example:   
      
   begin   
     Write(Output, 'Enter a string: ');   
     Flush(Output);     { do we need this here? }   
     ReadLn(Input, s);   
   end.   
      
   In languages like C, this is the standard practice, but I can't find   
   any mention about needing to do this in Pascal. I'm assuming we do   
   because Output is still a text file...   
      
   --- 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