Juha Metsäkallas schrieb:
Note that the exact value of infinity will ,however, be displayed e.g.
in an edit field. Put an edit field's open event code "me.text =
Str(100/0)" and achieve a higher level of understanding. ;-)
You get this understanding only on a PPC Mac I think.
But what's more important is that this is the result of a division of
doubles not of integer:
dim d As Double
dim i As Integer
i=100/0
d=100/0
me.Text = "d=" + str(d) + " i=" + str(i)
Gives "d=INF i=2147483647".
Cheers,
Tom
PS. I think this is not a good behavior of RB since it could lead to
hard to find errors...
Is there a feature request somewhere?
_______________________________________________
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>