[fpc-pascal] variable declarations with 'absolute' syntax
Michael Ring
mail at michael-ring.org
Tue Oct 13 22:13:19 CEST 2015
;-)
There's a lot of use in embedded targets:
const
ADC1_BASE = $40012000;
var
ADC1 : TADC_Registers absolute ADC1_BASE;
Am 13.10.15 um 21:14 schrieb Bart:
> On 10/13/15, Graeme Geldenhuys <mailinglists at geldenhuys.co.uk> wrote:
>
>> So what is (code example) of valid syntax when the
>> Integer Expression syntax is used?
> var
> NilPointer: Pointer absolute 0;
>
> Bart
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list