[fpc-devel] New FPC JVM snapshot: Android support
pascaldragon at googlemail.com
Tue Dec 20 10:05:06 CET 2011
Am 20.12.2011 09:53, schrieb Mattias Gaertner:
> On Tue, 20 Dec 2011 12:51:29 +0400
> Alexander Shishkin<alexvins at mail.ru> wrote:
>> 20.12.2011 4:00, Paul Ishenin пишет:
>>> 18.12.2011 20:45, Jonas Maebe wrote:
>>>> And final fields.
>>> Final methods can't be overriden in the descendants. But what are final
>>> fields for?
>> It`s something like writeable constant, but writeable only in constructor.
> Can someone explain the pascal syntax?
According to example classes (JAImage, JAFGlyphJustificationInfo) in
it is like the following:
TFoo = class
final class var
Please note: Every field (final or not) can be followed by a "external
name 'FieldName'" clause if the class is "external" as well (you can see
this in the mentioned example classes)
You also might want to read this:
More information about the fpc-devel