On Sat, Nov 6, 2010 at 17:13, Paul Ishenin <webpi...@mail.ru> wrote: > 06.11.2010 21:39, ik wrote: > >> But why class variables and not class fields ? >> > What is the difference? > > "var" is already a reserved word. reserving a word "field" will cause more > problems than using an already reserved word. >
why not something like this: TAClass = class private FField : class integer; end; Further more, what is the difference between a "normal" field and a variable inside a class: TAClass = class private var Variable : Integer; end; That's what I'm trying to figure out. Ido > > Best regards, > Paul Ishenin. > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal