-- REXX
MyVar = .OLEObject~new("Rexx.Counter")

wscript~echo( "Counter:" MyVar~counter )
wscript~echo( "Counter:" MyVar~increment )