Sunday, August 8, 2010

Blog Task: Name that function

The name of the Visual Basic function we could use to ensure that only numeric data is assigned to the integer variable (therefore avoiding the program crash if non-numeric data is entered)?:isNumeric

We implement this method by using an If IsNumeric statement

Overflow exception (error) occurs when a value goes beyond its data type's storage capacity

The range/capacity of an integer is -2,147,483,648 through 2,147,483,647







 



No comments:

Post a Comment