realbasic-nug
[Top] [All Lists]

Re: accessing nil variant properties

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: accessing nil variant properties
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Mon, 31 Jan 2005 08:38:38 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <80CE0506-7309-11D9-8308-000D933D1C6E at yahoo dot de>
At 10:54 PM +0100 1/30/05, Dr.Georg Christmann wrote:

In case 3 I get a msgBox showing an "a", as expected.
In case 1 and 2 I would have expected a nil object exception, instead I get an "empty" msgBox. Even the debugger says v is nil in case 1 and 2.

Is this intended behaviour?

Yes.

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
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>

<Prev in Thread] Current Thread [Next in Thread>