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,415 of 2,978    |
|    Dr Engelbert Buxbaum to RadSurfer    |
|    Re: Infinite Loops & other things    |
|    21 Feb 05 17:06:07    |
   
   From: engelbert_buxbaum@hotmail.com   
      
   RadSurfer wrote:   
      
   > Just how would one implement an infinite in TP/BP 7 ?   
   >   
   > I used:   
   >   
   > repeat   
   > { use 'break' to exit }   
   > until 1=0;   
      
      
   either   
    repeat ... until false   
   or   
    while true do   
      
      
   > One other note that appears to be unique to Pascal apparently:   
   > True = 1   
   > False = 0   
   > Boolean expressions (of various word-sizes too!) ALL evaluate to 0 or 1   
   > !!   
      
   Nope, these statements are illegal. True and false are reserved words   
   (ie can not be reassigned) and are boolean caonstants. 1 and 0 are   
   integer constants. As we have told you before you have to free yourself   
   from the bad habits of C programmers, who mix types like that.   
      
   --- 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