Shouldn't it (or doesn't it) yield a runtime error? Does this mean
that we have to check for divide-by-zero errors by hand? (I usually
do this anyway, but could error trapping be used as an alternative?)
Tom Moore
Pomona College
On Nov 27, 2006, at 10:03 AM, Mars Saxman wrote:
On Nov 27, 2006, at 9:51 AM, Vincent Kroll wrote:
Dim i As Integer
i = 100/0
The result: i = 2147483647
Is this the mathematical answer for dividing a natural number by 0?
It is the nearest approximation to infinity which will fit in a 32-
bit signed integer.
Mars Saxman
REAL Software
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
-------------------------------------------------------------
This message has been scanned by Postini anti-virus software.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>