Visual Basic.net question for you experts

RaKO

Member
May 3, 2001
44
0
0
1. What value will the expression Val (??) return?


2. What value will the expression CType (??, Integer) return?


3. What value will the expression Val (?A?) return?


4. What value will the expression CType (?A?, Integer) return?


I bet someone that I could find the answer in 1 hour using the internet. Help me out win this bet!
 

Sketcher

Platinum Member
Aug 15, 2001
2,237
0
0
There are some top notch minds here but you might fare better in the "Highly Technical" forum.

Good Luck!
 

Codewiz

Diamond Member
Jan 23, 2002
5,758
0
76
Originally posted by: RaKO
1. What value will the expression Val (??) return?


2. What value will the expression CType (??, Integer) return?


3. What value will the expression Val (?A?) return?


4. What value will the expression CType (?A?, Integer) return?


I bet someone that I could find the answer in 1 hour using the internet. Help me out win this bet!

I don't want to do your homework.
 

RaKO

Member
May 3, 2001
44
0
0
Not the case buddy. Then again, maybe it may be my brothers homework that he's trying to get me to find..hmmm
 

VBGOD

Junior Member
Nov 18, 2001
18
0
0
Originally posted by: RaKO
1. What value will the expression Val (??) return?


2. What value will the expression CType (??, Integer) return?


3. What value will the expression Val (?A?) return?


4. What value will the expression CType (?A?, Integer) return?


I bet someone that I could find the answer in 1 hour using the internet. Help me out win this bet!


I guess I'm too late, but.....

Val ("") will return 0
CType ("", Integer) is invalid
Val("A") will return 0
CType ("A", Integer) is also invalid.
 

Bovinicus

Diamond Member
Aug 8, 2001
3,145
0
0
Why don't you just enter the commands into a program and have them output into a message box with quotes around the message so you can view spaces and null characters...