javascript
Brief description  about Online courses   join in Online courses
View Abhishek  Dwivedi 's Profile

variable

dim what it means in vb.net
Asked by Abhishek Dwivedi | Apr 20, 2011 |  Reply now
Replies (1)
View WAN-NUR-IZZATI BINTI MOHAMED-ALI 's Profile
mm.. dim is like keyword to declare a variable
Ex in Java we would declare
data_type var_name;
int number1, number2;

for VB, we use
dim var_name;
so,
dim greeting as String;
dim txtName as TextField;
dim lblName as Label;

someone, correct me if I`m wrong ;)
Apr 20, 2011