Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   Examining the variable and their data types. (http://www.go4expert.com/forums/examining-variable-data-types-t21231/)

Fatima Khan 7Mar2010 01:41

Examining the variable and their data types.
 
How to examine the value of variable when they are not define n hoe to examine their data types ?

krazytechno 7Mar2010 13:55

Re: Examining the variable and 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.

Fatima Khan 7Mar2010 18:54

Re: Examining the variable and their data types.
 
HI,
I mean that how the compiler Know the data type of the variables .

virxen 7Mar2010 22:04

Re: Examining the variable and their data types.
 
from the values you assign to it



p.s.
if you use vb
use this command as your first in your code
option explicit
this will force you to define the datatypes for all variables used by your program.


All times are GMT +5.5. The time now is 07:15.