[fpc-pascal] methods of an object to create others objects

Marcos Douglas md at delfire.net
Tue Jul 6 17:12:04 CEST 2010


On Tue, Jul 6, 2010 at 3:05 AM, spir <denis.spir at gmail.com> wrote:
>> The object Parser creates obj through the line string.
>> If the *line* is broke, Parser do not can create an object and an
>> Exception is created; the *obj* never is nil because there are
>> exception handling.
>
> I do not see the problem, since obj is explicitely free'ed...

The problem is somebody (not me) forget (a stupid example) put the
variable to receive the instance of object.


Marcos Douglas



More information about the fpc-pascal mailing list