[fpc-pascal]class variable

Peter Vreman peter at freepascal.org
Fri Apr 4 12:53:09 CEST 2003

> When trying class methods, I found that the executable behaves strange:
> Invoking a class method with
> <classtype>.<method>
> works fine. But, invoking the class method with
> <classvar>.<method>
> is accepted by the compiler, but results in an exception when <classvar>
> is
> nil. Is that OK?

Please try it with 1.0.7 or 1.1. There are some changes regarding class
methods since 1.0.6

More information about the fpc-pascal mailing list