On 3/15/06, Charles Yeomans <[EMAIL PROTECTED]> wrote:
>
>   It turns out that you can still implement nil object checking -- for
> example,
>
> Sub Foo()
>    If me is nil then
>       //do something odd
>    Else
>
>    End if
> End Sub

I am surprised that this works - at least for virtual methods this
should not work as a virtual method can't be called without first
looking up the object ptr - and if that's nil, the method can't be
found (instead you'll get an instant crash for executing in non-code
space).

And I thought that now _all_ class methods are virtual.

I'm confused. What part do I misunderstand here?

TT
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to