[futurebasic] Re: [FB] Re : [FB] buggy DCOD?

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

From: "Pete" <furbies@...>
Date: Mon, 10 May 1999 05:15:20 +1000
> Pete sed:
>> '=========================================
>> RESOURCES "vers.rsrc","rsrcRSED","DCOD",128,"Another Module"
>> COMPILE 0, _MacsBugLabels _CaseInsensitive _DimmedVarsOnly _pointerVars
>> _OptimizeAsInt
> * Beware of MacsBugLabels in DCOD

Why beware of _MacsBugLabels ?????

> * What does _pointerVars give you?

_pointerVars........Allocate a pointer in the application heap for variables
                    (when compiling a code resource).

> * personally I wouldn't use _caseInsensitive, and just use _dimmedVarsOnly
> to catch typos, but that's personal.
>
> I build DCODs differently, starting with:
>> ENTERPROC% (gModuleSelector%, gSMGrecPtr&)
> I would now did all vars here.
> then a jump to "main". In the space between vars and "main"
> I put the sub routines that I use...
>
> I don't use FNs. but GOSUB, for 3 reasons:
> 1: no globals in this way, the DCOD is self contained
> 2: slight gain of space, if you pusha agin that 32K limit it can be useful
> 3: slighly faster too
>
> HTH
> jonathan

thanks

Pete...