[fpc-devel] Reading empty collection from stream

Micha Nelissen micha at neli.hopto.org
Mon Sep 11 19:33:31 CEST 2006


Michael Van Canneyt wrote:
>>> Note, if I remove the 'Keystrokes = <>' line from the lfm, I will get
>>> the default collection too, so I wonder why there are two ways to get
>>> the default collection.
>>
>> I propose to remove the "if not EndOfList then Collection.Clear;" line.
> 
> You may not, because then inherited form streaming will be broken: a
> collection of "<>" means: don't touch, keep the collection of
> the parent form.

I don't understand: why does it mean that ?

Micha



More information about the fpc-devel mailing list