|
-
March 28th, 2001, 02:52 AM
#1
hex - hex$ ?
Sorry for the question, but I'm VB beginner ;-}
What is the/Is there a difference between hex and hex$ statement?
-
March 28th, 2001, 03:10 AM
#2
Re: hex - hex$ ?
The former returns a Variant (of VarType String) and the latter returns a true String.
Due to Visual Basic's implicit type conversion this rarely makes any difference at all but there is a (minute) speed penalty for using Hex() and then coercing it into a String.
HTH,
Duncan
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|