John117 Posted March 21, 2009 Share Posted March 21, 2009 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) CODEGlobal $Core = ObjCreate("Order2Go.CORE") Global $Tdesk = $Core.CreateTradeDesk(trader) Global $Tdek = $Core^ERROR Error: Variable must be type Object. Link to comment Share on other sites More sharing options...
enaiman Posted March 22, 2009 Share Posted March 22, 2009 $Tdesk and $Tdek in the error text? It might be a spelling mistake. Other than that I can't see anything wrong. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
John117 Posted March 25, 2009 Author Share Posted March 25, 2009 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 . . . :-) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now