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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to