Declaration statements in visual basic

KEYWORD DOES THIS
Dim Using Dim alone creates variants. Use the as keyword to specify variable type
Private Makes variable available only in current form or module
Public Makes variable global- variable also available to rest of the program
ReDim Reallocates storage for dynamic array variables
Static Preserves variables value between procedure calls
Type Declares user  type

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s