Am 05.07.2010 22:15, schrieb Onur Güzel:
>> As CByte is a keyword, not a function, the value is compiled as
>> a byte, not converted at runtime. Though, your version is ok, too.
>>
> Yep, but CByte is mentioned as "function" on MSDN which you call it as
> keyword:
>
> http://msdn.microsoft.com/en-us/library/2ssb79wt(VS.85).aspx
VBScript documentation? :-)
Well, it's used like a function but what the compiler does
depends on the type of the expression. It's not necessarily
a function call.
> Acturally Cxxx (and CByte) is conversion operator.
Or "conversion function": ;-)
http://msdn.microsoft.com/en-us/library/s2dy91zy.aspx
--
Armin