Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What does integer mean in VB?
What does integer mean in VB?
Integer (case insensitive) stands for integer type in VB. Integer is the keyword (reserved word) of VB.

take for example

Will be an integer variable named X.

Dim? x? As? Integer?

Define an array with 3 elements, and the types of array elements are integers.

Dim? y( 1? Where to? 3)? As? Integer?

Define a function whose two parameters are integer types; The return value type is also an integer type.

Function? Subtraction (Byval? x? As? Integer, _

Byval? y? As? Integer) As? integer

Subtraction? =? x? -? y

End? function