C:\ScriptBASIC\sage>sbc firstcust.sb
CreateObject 2 args
CreateObject(:SET, ProvideX.Script)
ProvideX.Script seems to return d!↓w☺valid IDISPATCH pointer
CallByName 4 args
CallByName(obj=a00fcc, method='Init', calltype=1 , comArgs=1)
VTYPE_STRING: C:\Sage\Sage 100 Standard\MAS90\Home (iter=0)
VT_EMPTY returned : return value from COM function was empty
CallByName 4 args
CallByName(obj=a00fcc, method='NewObject', calltype=8 , comArgs=1)
VTYPE_STRING/IDISPATCH: SY_Session (iter=0)
VT_DISPATCH returned : return value from COM function was integer: a00f84
CallByName 5 args
CallByName(obj=a00f84, method='nSetUser', calltype=1 , comArgs=2)
VTYPE_STRING: northstar (iter=0)
VTYPE_STRING: js (iter=1)
VT_I4 returned : return value from COM function was integer: 1
CallByName 4 args
CallByName(obj=a00f84, method='nsetcompany', calltype=1 , comArgs=1)
VTYPE_STRING: ABC (iter=0)
VT_I4 returned : return value from COM function was integer: 1
CallByName 5 args
CallByName(obj=a00f84, method='nSetDate', calltype=1 , comArgs=2)
VTYPE_STRING: 20171218 (iter=0)
VTYPE_STRING: A/R (iter=1)
VT_I4 returned : return value from COM function was integer: 1
CallByName 4 args
CallByName(obj=a00f84, method='nSetModule', calltype=1 , comArgs=1)
VTYPE_STRING: A/R (iter=0)
VT_I4 returned : return value from COM function was integer: 1
CallByName 5 args
CallByName(obj=a00fcc, method='NewObject', calltype=8 , comArgs=2)
FROM BYREF => VTYPE_LONG/IDISPATCH: a00f84 is valid pointer
VTYPE_STRING: AR_Customer_svc (iter=1)
VT_DISPATCH returned : return value from COM function was integer: a011c4
CallByName 2 args
CallByName(obj=a011c4, method='nMoveFirst', calltype=1 , comArgs=0)
VT_I4 returned : return value from COM function was integer: 1
CallByName 3 args
CallByName(obj=a011c4, method='sCustomerNo', calltype=2 , comArgs=0)
VT_BSTR returned : return value from COM function was string: ABF
CallByName 3 args
CallByName(obj=a011c4, method='sCustomerName', calltype=2 , comArgs=0)
VT_BSTR returned : return value from COM function was string: American Business Futures
CallByName 3 args
CallByName(obj=a011c4, method='sCity', calltype=2 , comArgs=0)
VT_BSTR returned : return value from COM function was string: Milwaukee
CallByName 3 args
CallByName(obj=a011c4, method='sState', calltype=2 , comArgs=0)
VT_BSTR returned : return value from COM function was string: WI
CallByName 3 args
CallByName(obj=a011c4, method='sTelephoneNo', calltype=2 , comArgs=0)
VT_BSTR returned : return value from COM function was string: (414) 555-4787
CallByName 2 args
CallByName(obj=a011c4, method='DropObject', calltype=1 , comArgs=0)
VT_EMPTY returned : return value from COM function was empty
CallByName 2 args
CallByName(obj=a00f84, method='DropObject', calltype=1 , comArgs=0)
VT_EMPTY returned : return value from COM function was empty
Customer: ABF American Business Futures Milwaukee WI (414) 555-4787
C:\ScriptBASIC\sage>