the target

External developers... This forum's for you!

the target

Postby sctell » Tue Apr 12, 2011 5:38 am

Is it possible to get this in an external?

I have tried.

SendCardMessage

SendHCMessage

EvalExpr

GetGlobal (I tried this because the SCLG says it's a global)

On another point does GetGlobal only get globals created by the scripter or does it have access to all globals?
sctell
 
Posts: 1128
Joined: Sun Jul 06, 2008 10:41 am

Re: the target

Postby Dave_Higgins » Tue Apr 12, 2011 6:36 am

sctell wrote:On another point does GetGlobal only get globals created by the scripter or does it have access to all globals?

IIRC, it can grab anything that you could find in "the globals" within SC.

Although it would probably be WAY too much work to ask Mark for, it would be nice if there was a sub-group of userGlobals or projectGlobals... But there's NO WAY I would ask for something like that. :-o
My two favorite teams are Detroit and whoever's playing Chicago.
User avatar
Dave_Higgins
 
Posts: 454
Joined: Mon Jul 07, 2008 9:50 am
Location: Dark Side Of The Moon

Re: the target

Postby Dave_Higgins » Tue Apr 12, 2011 6:42 am

sctell wrote:Is it possible to get this in an external?


Looks like if you utilize:...

SCErr GetGlobals // from IT_470h

... to get the main globals block, you can find inside there...

Handle thetarget, theresult, pushstack, backstack, forthstack;

... which is found in commonExt_470.h

Been a while since I've had my head inside SC's externals code, but it looks like it shouldn't be too tough. However, IIRC, I was trying the same thing a while back, but I don't really remember the outcome of my efforts.
My two favorite teams are Detroit and whoever's playing Chicago.
User avatar
Dave_Higgins
 
Posts: 454
Joined: Mon Jul 07, 2008 9:50 am
Location: Dark Side Of The Moon


Return to Xcode and the Internals Toolbox

Who is online

Users browsing this forum: No registered users and 1 guest