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

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

From: Mark Goodes <wave@...>
Date: Thu, 6 May 1999 00:06:10 -0400
>>> Can I pass the address of a FN which lives in the app calling the DCOD and
>>> have the DCOD use the FN as if it was just another FN ??

You could try something like this:
- in the app:
   CALL "DCOD",id,rslt&,(a,fnAddr&,c,selector&)
- in the DCOD:
  local fn myDCODFn(fnAddr&)
     def Fn testFn using fnAddr&
     fn TestFn
  end fn

Haven't tried this; it's just an educated guess.

wave (Toronto, Canada)