[fpc-pascal] section keyword
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Oct 22 10:19:40 CEST 2014
On 22/10/14 08:56, Mattias Gaertner wrote:
> I didn't find it in the reference.
It's a trunk feature, so it's not yet documented.
> How does the section keyword work and where is it allowed?
>
> const
> devcfg3: longWord = 3; section '.devcfg3';
It's allowed after non-external global variables and typed constants. It
puts the data for that variable in the section with the name follows the
directive. It's only allowed for embedded targets.
Jonas
More information about the fpc-pascal
mailing list