Nice to you again ! Today i want to share about how to declare a variable in visual basic 6.Before you learn to declare a variabe in visual basic you should need to know data and data type. If you want to declare a dynamic variable just type : Dim variable_name As data_type. ex : Dim Student_ID As Integer. Isn't that simple right ? That just a one level variable in visual basic 6 ! Let's go to more deep lesson....
One Level Variable
One level variable or standar variable is a simple variable that can you set with simply write
Dim variable_name as data_type
Array Variable
Array variabel is more complex than standar variable you need to learn array then you would know more on this session lesson.
Dim variable_name(how_many) as data_type
Multi Dimention Variable
Dim variable_name(how_many,how_many2) as data_type
One Level Variable
One level variable or standar variable is a simple variable that can you set with simply write
Dim variable_name as data_type
Array Variable
Array variabel is more complex than standar variable you need to learn array then you would know more on this session lesson.
Dim variable_name(how_many) as data_type
Multi Dimention Variable
Dim variable_name(how_many,how_many2) as data_type
0 comments:
Post a Comment