[futurebasic] Re: [FB] DCODs & calling functions

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

From: Rick Brown <rbrown@...>
Date: Wed, 05 May 1999 19:54:45 -0500

Pete wrote:

> Just to make sure I'm clear on this...
>
> An app builds a list of FNs inside it's self using address& = @FN FNname
>
> The app then calls a DCOD. The DCOD is in an external rsrc file.
>
> The DCOD wants to use a FN in the callling app so it does a
> DEF FN FNname(a, b, c) USING address&
>
> then the DCOD calls the FN it wants with:
>
> FN FNname(a, b, c)
>
> so Rick, is this about right ??

Yes, that's the theory.  I must make the disclaimer that I've never tried it
myself, so there may be other factors I'm not taking into account.  But it _looks_
to me like it should work the way you've outlined.

- Rick