[fpc-pascal] Self pointer existence

Wimpie Nortje wimpienortje at gmail.com
Mon Apr 18 09:54:28 CEST 2011


Hi

When does the self pointer's value become valid?

I need a reference to the object being created inside the object's own
create method. The last statement in Create uses self, but that causes
program crashes.

Is this too early to use self? Is there another way?





More information about the fpc-pascal mailing list