[futurebasic] Re : [FB] Globals

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: "jonathan" <jonnnathan@...>
Date: Fri, 24 Sep 1999 18:47:23 +0200
> Can i access 'myGlobal' from _ANY_ INCLUDE FILEs ?
> (far in the hierarchy of included files)
>
> If not, is it related to SEGMENT in any way ?

I suppose that you're FBII - although I don't really see what that'd change.

You can grab this from anywhere... providing you haven't shut off access to
globals by using MODE before your FN.

LOCAL MODE
LOCAL FN myStuff(...)
...
END FN

In this case the only stuff that would 'get in' would be through the passed
params - the (...)

:-j