[futurebasic] Re: DCOD's and CODE RESOURCES > 32K

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 1998 : Group Archive : Group : All Groups

From: Chris Stasny <staz@...>
Date: Wed, 24 Jun 1998 17:47:27 -0500
>>>Thanks, Chris.  I may seem a little clueless here, but how do you go about
>>>passing the address of the globals that FB is using?  I'm familiar with the
>>>method of defining your own global space that Bill explained, but the FB
>>>DCOD's don't seem to bother with this.  They have a way of directly
>>>accessing the globals that are being used by the main app.  How is this
>>>done?  TIA.
>>OK. First set up the globals in your project.
>There's still one thing that's confusing me:  in the code for the FB
>Debugger and Project Manager Tools, the DCOD's have total access to the
>globals without having to have any special values passed to them.  They
>even share the same globals file as the main via the GLOBALS statement at
>the top of the file.  I tried setting up my test program using the same
>structure, though, and any global values that I set in the main came out as
>zeros in the DCOD.  Just wondering if there's something I'm missing that
>would allow total access to globals.

In those tools, the DCOD doesn't really have total access to all globals.
Some DCODs do however, because they blockmove all vars from the caller into
a local copy of the globals file. I don't recommend it for a tool tho.

"No Quid Pro Quo."  (I'm Sorry, We're all out of quid.)

-STAZ   ~)~

STAZ Software * 4387 Leisure Time Dr * Diamondhead, MS 39525
Orders: 800-348-2623      EMail http: //www.stazsoftware.com
  Tech: 228-255-7085             FAX: 228-255-7086