|
-
Jul 18th, 2022, 11:36 AM
#3
Thread Starter
PowerPoster
Re: unexpected behavior with ctype and nullable byte (byte?) variable
Thanks, jmcilhinney. Your response further confirms and clarifies what has been observed here.
Easier to understand is the behavior of the If function ("two potential return values must be the same type ...").
The CType situation is, as you say, more idiosyncratic: "it appears that the result of using CType to convert a null String reference to a nullable numeric type is always zero". Prior to posting on here, I did try to find an "official statement" on this behavior but was unable to do so.
"It's cold gin time again ..."
Check out my website here.
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
|