29 lines
705 B
XML
29 lines
705 B
XML
<?xml version="1.0"?>
|
|
<component>
|
|
<registration description="WineTest object" progid="WineTest" version="1.23" classid="{a8a83483-a6ac-474d-b22a-9a5f2d68cb7f}">
|
|
</registration>
|
|
<public>
|
|
<method name="vbAddOne">
|
|
<PARAMETER name="n"></PARAMETER>
|
|
</method>
|
|
<method name="jsAddTwo">
|
|
<Parameter name="n"/>
|
|
</method>
|
|
<method name="wtTest">
|
|
<Parameter name="i"/>
|
|
</method>
|
|
</public>
|
|
<script language="VBScript">
|
|
<![CDATA[
|
|
Option explicit
|
|
Function vbAddOne( n )
|
|
vbAddOne = n + 1
|
|
End Function
|
|
]]>
|
|
</script>
|
|
<script language="JScript">
|
|
function jsAddTwo(n) { return n + 2; }
|
|
</script>
|
|
<script language="WTScript">WTTest body</script>
|
|
</component>
|