Re: [fpc-pascal] Class helpers and properties

2012-01-28 Thread Mark Morgan Lloyd
Sven Barth wrote: On 27.01.2012 23:51, Mark Morgan Lloyd wrote: Sven Barth wrote: On 27.01.2012 22:46, Mark Morgan Lloyd wrote: If a class has a public reader property like this: TLexemeList= class(TObject) protected fValue: TPrimaevalValue; public property Value: TPrimaevalValue read fValue;

Re: [fpc-pascal] Class helpers and properties

2012-01-28 Thread Sven Barth
On 27.01.2012 23:51, Mark Morgan Lloyd wrote: Sven Barth wrote: On 27.01.2012 22:46, Mark Morgan Lloyd wrote: If a class has a public reader property like this: TLexemeList= class(TObject) protected fValue: TPrimaevalValue; public property Value: TPrimaevalValue read fValue; ... Note that be

Re: [fpc-pascal] Class helpers and properties

2012-01-27 Thread Mark Morgan Lloyd
Sven Barth wrote: On 27.01.2012 22:46, Mark Morgan Lloyd wrote: If a class has a public reader property like this: TLexemeList= class(TObject) protected fValue: TPrimaevalValue; public property Value: TPrimaevalValue read fValue; ... Note that below is in a different unit. is there a way of

Re: [fpc-pascal] Class helpers and properties

2012-01-27 Thread Sven Barth
On 27.01.2012 22:46, Mark Morgan Lloyd wrote: If a class has a public reader property like this: TLexemeList= class(TObject) protected fValue: TPrimaevalValue; public property Value: TPrimaevalValue read fValue; ... is there a way of allowing a class helper to augment this with a protected writ

[fpc-pascal] Class helpers and properties

2012-01-27 Thread Mark Morgan Lloyd
If a class has a public reader property like this: TLexemeList= class(TObject) protected fValue: TPrimaevalValue; public property Value: TPrimaevalValue read fValue; ... is there a way of allowing a class helper to augment this with a protecte