Jump to content

Recommended Posts

Posted

Hey the following code works fine when I use F5 from Scite.

When I double click the script to run it I get the following error. It is coded correctly. -anyone see a prob?

I know that the object works. -it pulls data for me . . . .

Global $Core = ObjCreate("Order2Go.CORE")
Global $Tdesk = $Core.CreateTradeDesk(trader)

CODE
Global $Core = ObjCreate("Order2Go.CORE")

Global $Tdesk = $Core.CreateTradeDesk(trader)

Global $Tdek = $Core^ERROR

Error: Variable must be type Object.

Posted

nope . . . that was just me typing the error incorrectly.

Oddly enough, it compiles and runs just fine . . . and F5's fine . . . Just can't double click the script . . .

Thanks for the effort . . . :-)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...