> taclass = class > fi:integer; > public > property i write fi; > end;
Not to pick on little details, but shouldn't that be: property i: interger read fi; as the OP wanted a read only member? What you gave them was write only. Maybe I misunderstood their request, if so sorry. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal