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,083 of 2,978   
   Matt Claessen to Ruud Baltissen   
   Re: Runtime error 205   
   28 Oct 04 23:36:26   
   
   From: nospam@tiscali.nl   
      
   Hallo Ruud,   
      
   "Ruud Baltissen"  wrote in message news:8   
   0a868e.0410280059.174aee63@posting.google.com...   
   > Hallo allemaal,   
      
   > The above causes error 205. But what I want is to be able to handle   
   > the error myself. The {$I-} doesn't help. What directive should I use   
   > instead? Or something else?   
   > Thanks for any help!   
   >   
   Since error 205 is an overflow error, it does not make sense to test for   
   IO errors. I don't think there is an equivalent compiler directive.   
   Look up the ranges of the 'real' type, and test the string yourself before   
   converting it to 'real' with val().   
   There is very little reason to use type 'real' nowadays, with omnipresence of   
   coprocessors. Preserving disk space with huge arrays is all I can think of.   
   I would use 8087 types like 'double' or 'extended' if at all possible.   
   Gives you much larger ranges and better precision.   
      
   regards, Matt   
      
   --- 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