// JScript
var
myVar
myVar =
new
ActiveXObject(
"Rexx.Counter"
)
WScript.echo(
"Counter: "
+ myVar.counter )
WScript.echo(
"Counter: "
+ myVar.increment() )