Yes, the actual value of an arguments to a
function are never checked by the compiler. This is normal
procedure in all types of compiled languages, including Visual
Basic, Pascal, C, C++ etc. This type of checking is not done as it
makes the compiler too dependent on the associated functions. Also
under some cases it is impossible to check as the argument may be
evaluated at runtime. the only checking is done by the function
itself. It is up to the user to check for success or failure of the
function. |