[futurebasic] [FB^3] DOCD calling

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2000 : Group Archive : Group : All Groups

From: Pete <furbies@...>
Date: Wed, 26 Jan 2000 15:30:56 +1100
Can some kind folks pls check:

I'm translating a FB2 project into FB^3, and need to translate the FB2 code
for calling a DCOD to FB^3

In FB2:
CALL "DCOD",_moduleRsrcID,(selector&, gSMGblk&, @gSharedDefFnGlobals)

In FB^3
_DCODPassingConst = _Pascalstk_p1Long_p2Long_p3Long
CALL "DCOD", _moduleRsrcID : UNIVERSALPROC(gFBCode&, _DCODPassingConst,
selector&, gSMGblk&, @gSharedDefFnGlobals)

I hacked the translation together after reading the eDocs, and looking at
what some folks had put in their emails.

I'm not sure about gFBCode. I don't have that global as part of _my_ project



Pete...

"The idea that Bill Gates has appeared
like a knight in shining armour to lead all
 customers out of a mire of technological chaos
neatly ignores the fact that it was he who, by
peddling second-rate technology, led them into
 it in the first place." - Douglas Adams, on
Windows '95