[futurebasic] Re: [FB] Conditional Record Compiles

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2002 : Group Archive : Group : All Groups

From: Pete Beaumont <furbies@...>
Date: Sun, 28 Jul 2002 06:57:02 +1000
On Sunday, July 28, 2002, at 04:02  AM, Jay wrote:

>>
>> Is there a way to conditionally include or exclude a record
>> declaration ?
>>
> Pete,
>
> Do you mean like this?
>
> #IF NDEF PetesRecord
>   BEGIN RECORD PetesRecord
>     ...
>   END RECORD
> #ENDIF
>

Yep, that's what I want to do.

I tried that syntax, and the compiler didn't seem to evaluate 
the compile test

> or
> _IncludeRecordDef = _zTrue
>
> #IF _IncludeRecordDef
>   BEGIN RECORD PetesRecord
>     ...
>   END RECORD
> #ENDIF
>
> Works as far as I know.
>
>  e-e
>  =J= a  y



Pete...                          (the other one)