From: ekkehard.horner on
Todd Vargo schrieb:
[...]
> Intrinsic constants can be readily found in screnc.chm help.
>
> Type "constants" in the index search box to see them by category or type
> "vb" in the box to move down to the vb... names which are listed
> directly within the index.
>
Consulting the docs is surely advisable, but relying on them can be
dangerous. According to

http://msdn.microsoft.com/en-us/library/10wcf65z(VS.85).aspx

"you must explicitly declare these [VarType] constants in your
[VBScript] code". Fortunately this is wrong.

cscript checkConstants.vbs
working with: Microsoft Windows XP [Version 5.1.2600] * Windows Script
Host 5.7 * VBScript 5.7.16599
[...]
vbCurrency 6
[...]


From: Todd Vargo on
ekkehard.horner wrote:
> Todd Vargo schrieb:
> [...]
>> Intrinsic constants can be readily found in screnc.chm help.
>>
>> Type "constants" in the index search box to see them by category or type
>> "vb" in the box to move down to the vb... names which are listed
>> directly within the index.
>>
> Consulting the docs is surely advisable, but relying on them can be
> dangerous. According to
>
> http://msdn.microsoft.com/en-us/library/10wcf65z(VS.85).aspx
>
> "you must explicitly declare these [VarType] constants in your
> [VBScript] code". Fortunately this is wrong.
>
> cscript checkConstants.vbs
> working with: Microsoft Windows XP [Version 5.1.2600] * Windows Script
> Host 5.7 * VBScript 5.7.16599
> [...]
> vbCurrency 6
> [...]

Yes, that is where these groups come in. Of course, if Microsoft would make
corrections when reported, these help file errors would be minimal.

--
Todd Vargo

(Post questions to group only. Remove "z" to email personal messages)