On Mon, 3 May 2010 14:28:13 -0300 Flávio Etrusco <flavio.etru...@gmail.com> wrote:
> > Needed to change the > > parameter to be a pointer to the record instead (so the default can be > > nil), but this creates a > > trap for the calling code. > > Else, is there a common trick or workaround? > > > > What trap? Simply that the caller must know a pointer must be passed instead of the parameter. And think at it everytime. Denis ________________________________ vit esse estrany ☣ spir.wikidot.com _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal