On Nov 26, 2008, at 3:17 PM, Michael Diehr wrote:
Let's say you have an interface, and one of the items in it is
really a property. It seems that a class implementing the
interface can't have a property with the same name as the interface
method (this makes sense, I think). However I'm wondering if
there's a clean way to accomplish this using computed properties, or
'assigns' or similar? To rephrase my question -- can Interfaces
only describe Methods, or can they describe Properties as well?
it would be nice to be able to say
Interface XYZ
method Load
method Save
property X as integer
and then have
classWhichImplementsXYZ:
sub Load
sub Save
X as integer
?
Interfaces only support methods. I don't think that interfaces that
support properties make sense.
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
From Wed 26 Nov 2008 15:35:55 EST
Delivered-To: listarchive@realsoftware.com
Received: by 10.143.98.10 with SMTP id a10cs94548wfm;
Wed, 26 Nov 2008 12:37:04 -0800 (PST)
Received: by 10.65.205.16 with SMTP id h16mr6664863qbq.62.1227731823398;
Wed, 26 Nov 2008 12:37:03 -0800 (PST)
Return-Path: <realbasic-nug-bounces@lists.realsoftware.com>
Received: from advanced107.inmotionhosting.com (advanced107.inmotionhosting.com
[74.124.194.228])
by mx.google.com with ESMTP id 9si1443371qbw.6.2008.11.26.12.37.01;
Wed, 26 Nov 2008 12:37:03 -0800 (PST)
Received-SPF: neutral (google.com: 74.124.194.228 is neither permitted nor
denied by best guess record for domain of
realbasic-nug-bounces@lists.realsoftware.com) client-ip=74.124.194.228;
Authentication-Results: mx.google.com; spf=neutral (google.com: 74.124.194.228
is neither permitted nor denied by best guess record for domain of
realbasic-nug-bounces@lists.realsoftware.com)
smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Received: from localhost ([127.0.0.1] helo=advanced107.inmotionhosting.com)
by advanced107.inmotionhosting.com with esmtp (Exim 4.69)
(envelope-from <realbasic-nug-bounces@lists.realsoftware.com>)
id 1L5R7F-0005eg-5D; Wed, 26 Nov 2008 12:36:05 -0800
Received: from imo-d22.mx.aol.com ([205.188.144.208])
by advanced107.inmotionhosting.com with esmtp (Exim 4.69)
(envelope-from <Mnogojazyk@aol.com>) id 1L5R7D-0005eH-0l
for realbasic-nug@lists.realsoftware.com;
Wed, 26 Nov 2008 12:36:03 -0800
Received: from Mnogojazyk@aol.com
by imo-d22.mx.aol.com (mail_out_v39.1.) id w.c39.4760c3f3 (33856)
for <realbasic-nug@lists.realsoftware.com>;
Wed, 26 Nov 2008 15:35:55 -0500 (EST)
From: Mnogojazyk@aol.com
Message-ID: <c39.4760c3f3.365f0d2b@aol.com>
Date: Wed, 26 Nov 2008 15:35:55 EST
Subject: Unhandled NilObjectException from Floating Properties Palette
To: realbasic-nug@lists.realsoftware.com
MIME-Version: 1.0
X-Mailer: Thunderbird - Mac OS X sub 310
X-Spam-Flag: NO
X-Content-Filtered-By: Mailman/MimeDel 2.1.10
X-BeenThere: realbasic-nug@lists.realsoftware.com
X-Mailman-Version: 2.1.10
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces@lists.realsoftware.com
Errors-To: realbasic-nug-bounces@lists.realsoftware.com
X-AntiAbuse: This header was added to track abuse, please include it with any
abuse report
X-AntiAbuse: Primary Hostname - advanced107.inmotionhosting.com
X-AntiAbuse: Original Domain - realsoftware.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - lists.realsoftware.com
Hi, all...
I've been having trouble with an unhandled NilObjectException
for quite a while. It appears to be in the IDE. I've reported it through
FogBugz; it's case 5271, i.e.,
<https://realsoftware.fogbugz.com/default.asp?5271_muob2sdp>
The details are that I open a project and then close it. Then I
open a second project. That's when I'm alerted about the unhandled
NilObjectException.
-- Charles Kelley.
**************
Life should be easier. So should your
homepage. Try the NEW AOL.com. (http://www.aol.com/?optin=new-dp&
icid=aolcom40vanity&ncid=emlcntaolcom00000002)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|