Discussion in 'Visual Basic ( VB )' started by Fatima Khan, Mar 6, 2010.
How to examine the value of variable when they are not define n hoe to examine their data types ?
First of all the question is not right.You can not use a variable in programming like c,c++,java
etc until it is not defined.Because if you wont define a variable data type, compiler could not recognize that and it will throw an error.So first define its data type and then use it.
I mean that how the compiler Know the data type of the variables .
from the values you assign to it
if you use vb
use this command as your first in your code
this will force you to define the datatypes for all variables used by your program.
Separate names with a comma.