Re: [fpc-pascal] casting interfaces and objects

2008-05-19 Thread Graeme Geldenhuys
Marc Santhoff wrote: Am Sonntag, den 18.05.2008, 23:41 +0200 schrieb Graeme Geldenhuys: 2008/5/18 Marc Santhoff <[EMAIL PROTECTED]>: Since the compiler dod not warn about using the "as" operator I assume it is safe? Like this: procedure TObservable.DeRegister( obsv: IObserver ); var i:

Re: [fpc-pascal] casting interfaces and objects

2008-05-19 Thread Marc Santhoff
Am Montag, den 19.05.2008, 09:16 +0200 schrieb Graeme Geldenhuys: > Marc Santhoff wrote: > > Am Sonntag, den 18.05.2008, 23:41 +0200 schrieb Graeme Geldenhuys: > >> 2008/5/18 Marc Santhoff <[EMAIL PROTECTED]>: > >>> Since the compiler dod not warn about using the "as" operator I assume > >>> it is

Re: [fpc-pascal] casting interfaces and objects

2008-05-19 Thread Martin Schreiber
On Monday 19 May 2008 00.02:55 Marc Santhoff wrote: > Am Sonntag, den 18.05.2008, 23:41 +0200 schrieb Graeme Geldenhuys: > > 2008/5/18 Marc Santhoff <[EMAIL PROTECTED]>: > > > Since the compiler dod not warn about using the "as" operator I assume > > > it is safe? Like this: > > > > > > procedure T