Wednesday, December 19, 2007

How to shows the use these declaration statements for actual variable for following code

How to shows the use these declaration statements for actual variable for following code

Private numval As Integer

Private avgval As Integer, inptval As Variant

Static clcAverage As Single

Dim inptmsg as string

It is best to declare your variables using the Dim or other statements shown earlier, but you also can assign a type to a variable using an implicit declaration. With this type of declaration, a special character is used at the end of the variable name when the variable is first assigned a value.

No comments: