• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Visual Basic.net question for you experts

RaKO

Member
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!
 
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.
 
Not the case buddy. Then again, maybe it may be my brothers homework that he's trying to get me to find..hmmm
 
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.
 
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...
 
Back
Top