Exception for typing int instead of real
[1 <text/plain; iso-8859-1 (quoted-printable)>]
Hi
I want to define a function that works for both int and real value. Is it possible? If so how?
How can I ask the function to perform one part of a program when the input is of type int, and to run another part when the input is of type real?
If the user input an int instead of a real number then, is it possible to catch an exception for that?
Thanks in advanced
Steve
[2 <text/html; iso-8859-1 (quoted-printable)>]
|