Differences

This shows you the differences between the selected revisions of the page.

2012-02-18 2012-02-18
concatenating param for echo (martin) enums anchor (martin)
Line 10: Line 10:
Though there are some less known techniques that you may need to use, which are described in following sections. Though there are some less known techniques that you may need to use, which are described in following sections.
-==== Accessing Enumeration Values ====+==== [[enums]] Accessing Enumeration Values ====
As JScript and VBScript access COM classes via ''IDispatch'', they do not make use of type library, hence they do not have direct access to constants defined there, like ''[[library_sessionoptions#properties|Protocol.Sftp]]'' for instance. To use these, you have to instruct WSH to import the type library into the script namespace. As JScript and VBScript access COM classes via ''IDispatch'', they do not make use of type library, hence they do not have direct access to constants defined there, like ''[[library_sessionoptions#properties|Protocol.Sftp]]'' for instance. To use these, you have to instruct WSH to import the type library into the script namespace.

Last modified: by martin