I think the fast point from OP point of view is the less typing, less source
code. Not from executable point of view.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Initialization-of-class-field-tp5710475p5710478.html
Sent from the Free Pascal - General mailin
On 31.07.2012 14:56, michael.vancann...@wisa.be wrote:
On Tue, 31 Jul 2012, Krzysztof wrote:
Hi,
I'm reading about variable initialization
(http://www.freepascal.org/docs-html/ref/refse22.html) . Can I
initialize class field too? Like in Java:
type
TMyClass = class
private
FSomeField:
On Tue, 31 Jul 2012, Krzysztof wrote:
Hi,
I'm reading about variable initialization
(http://www.freepascal.org/docs-html/ref/refse22.html) . Can I
initialize class field too? Like in Java:
type
TMyClass = class
private
FSomeField: Integer = 123;
end;
I always initialize this in overrid
Hi,
I'm reading about variable initialization
(http://www.freepascal.org/docs-html/ref/refse22.html) . Can I
initialize class field too? Like in Java:
type
TMyClass = class
private
FSomeField: Integer = 123;
end;
I always initialize this in overrided constructor, but above example
is muc