realbasic-nug
[Top] [All Lists]

Error Bug in Mac R2006r2?

To: realbasic-nug at lists dot realsoftware dot com
Subject: Error Bug in Mac R2006r2?
From: Louis G5 Batayte <loug5 at batayte dot com>
Date: Fri, 28 Apr 2006 14:37:11 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Maybe someone can help me?
I was trying a simple test program concept and came up short real fast.

I created a simple Window with a Pushbutton and a simple Class.
When attempting to Run the program it halts with a "property does not exist" error.

Either I don't understand what is going on, or something in my RB install is messed up thus creating an error on my machine but not other machines, or this is an actual bug, i.e. an error on everyone's machine.

I am using Mac OSX 10.4.6 and RB 2006r2

To obtain a copy on my simple program (.rbp) with screen captures (.png files) and a README text file, get:

http://batayte.com/RB_stuff/ErrorExample.sitx

So, maybe someone can help me figure out what the problem is.

Thanks
Lou

P.S. I went backwards and under RB 2006r1, this program compiles and runs. However under RB 2006r1, the message box comes up empty, i.e. the default value is not displayed
_______________________________________________
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>


From  Fri 28 Apr 2006 12:59:13 -0600
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
Received: from lists.realsoftware.com (209.198.132.125) by realsoftware.com
with ESMTP (Eudora Internet Mail Server 3.1.3);
Fri, 28 Apr 2006 13:59:32 -0500
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id A0F82122A02B; Fri, 28 Apr 2006 13:59:21 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from jareth.dreamhost.com (jareth.dreamhost.com [66.33.198.201])
        by lists.realsoftware.com (Postfix) with ESMTP id 0B7FB122A01D
        for <realbasic-nug at lists dot realsoftware dot com>;
        Fri, 28 Apr 2006 13:59:13 -0500 (CDT)
Received: from [10.0.1.2] (c-67-174-105-26.hsd1.co.comcast.net [67.174.105.26])
        by jareth.dreamhost.com (Postfix) with ESMTP id 2581019125E
        for <realbasic-nug at lists dot realsoftware dot com>;
        Fri, 28 Apr 2006 11:59:13 -0700 (PDT)
Date: Fri, 28 Apr 2006 12:59:13 -0600
From: joe at strout dot net
To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
In-Reply-To: <4E254EDB-C27D-4DBA-B399-9C302A2BBEC9 at batayte dot com>
X-Mailer: VerEx Email Gateway
Content-type: text/plain;
Content-transfer-encoding: 7bit
Message-Id: <20060428185913 dot 2581019125E at jareth dot dreamhost dot com>
Subject: Re: Error Bug in Mac R2006r2?
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

Lou wrote:
I created a simple Window with a Pushbutton and a simple Class.
When attempting to Run the program it halts with a "property does not exist" error.

The error is quite right.  You're trying to reference "Class1.Abc".  But Abc is 
not a shared property of Class1; it's a regular property, and exists only in relation to 
some particular instance.  You need to reference it through some instance, e.g. like this:

 Dim foo As New Class1
 msgbox str(foo.Abc)

P.S. I went backwards and under RB 2006r1, this program compiles and runs.

That'd be a bug in 2006r1 then -- one which apparently they've fixed.

Best,
- Joe

--
Joe Strout -- joe at strout dot net
Available for custom REALbasic programming or instruction.

_______________________________________________
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>