If you would like to e-mail an example off-list, feel free. I have the
Windows IDE.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
From Tue 27 Feb 2007 20:22:19 -0700
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
id 29E2D1AB8CF9; Tue, 27 Feb 2007 19:22:26 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
www.realsoftware.com
X-Spam-Level:
X-Spam-Status: No, score=-2.6 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00,
NO_REAL_NAME autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
by xmail.realsoftware.com (Postfix) with ESMTP id 3643B1AB8CEF;
Tue, 27 Feb 2007 19:22:25 -0800 (PST)
Received: from m.realsoftware.com (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP id F358FFC51B;
Tue, 27 Feb 2007 21:22:20 -0600 (CST)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from mail.verex.com (mail.verex.com [66.116.103.197])
by lists.realsoftware.com (Postfix) with ESMTP id 38795FC510
for <realbasic-nug at lists dot realsoftware dot com>;
Tue, 27 Feb 2007 21:22:19 -0600 (CST)
Received: from [66.116.103.197] (localhost [127.0.0.1])
by mail.verex.com (Postfix) with SMTP id 21BBA70275D
for <realbasic-nug at lists dot realsoftware dot com>;
Tue, 27 Feb 2007 20:22:19 -0700 (MST)
Date: Tue, 27 Feb 2007 20:22:19 -0700
Subject: RE: Confused about new things in RB
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <NAEEKPONICFANBGONHNIIEDMDOAA dot tim at telios dot com>
X-Mailer: VerEx Email Gateway
Message-Id: <20070228032219 dot 21BBA70275D at mail dot verex dot com>
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com
On Feb 27, 2007, at 23:51 UTC, Tim Hare wrote:
> Let me try to put it another way. The distinction is probably better
> highlighted by comparing the class vs. the instance. If you were to
> put the static variable in the Action event of the instance, then it
> acts in the traditional manner.
I'm not sure what you mean by this. As a static variable, it's a
single global value that's only accessible from within the method.
> If you use that same static in the
> class, then it acts slightly differently.
How does it act slightly differently? It's a single global value
that's only accessible from within the method, no matter where you do
it. I can see no difference whatsoever.
I'm not trying to pick on you here; I think one of us is confused about
how static variables work, and if that's the case, there are probably
others here that are confused too. Seems worth a bit of effort to get
to the bottom of it.
Best,
- Joe
--
Joe Strout -- joe at strout dot net
Verified Express, LLC "Making the Internet a Better Place"
http://www.verex.com/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|