[fpc-pascal] Initialize the object (not class)
parmaja at gmail.com
Sun Jul 18 21:01:10 CEST 2010
I have used object to make more easy, not need to create or free it,
MyObject = object
Prop1: integer read FProp1 write FProp1
1 - The problem, i have random value in the prop1(I am not sure about it),
is that mean i must initiliaze it.
2 - is there a method i can override it to init my properties without to
call it manualy O.init;
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal