realbasic-nug
[Top] [All Lists]

Re: An interesting DIM gotcha

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: An interesting DIM gotcha
From: Norman Palardy <npalardy at great-white-software dot com>
Date: Thu, 31 Aug 2006 17:03:31 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20060831194607 dot 5982B148D114 at lists dot realsoftware dot com> <561EA6E5-1D61-458A-8763-DDBE70F10A00 at animeigo dot com>

On Aug 31, 2006, at 4:57 PM, Robert Woodhead wrote:

Quick quiz, campers.  What does the following statement do?

  DIM reg1,reg2,reg3 as new regEx

If you said "create three regEx objects", BZZZT! Wrong! It creates one regEx object, and points all three variables at it!

This behavior has been around for a long time

It's one reason why I NEVER use this sort of declaration and have thus never had this problem


_______________________________________________
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  Thu 31 Aug 2006 19:48:47 EDT
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 3A694AE4369; Thu, 31 Aug 2006 16:49:18 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on realxserve.local
X-Spam-Level: X-Spam-Status: No, score=-1.6 required=4.5 tests=AWL,BAYES_00,NO_REAL_NAME autolearn=no version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
        by xmail.realsoftware.com (Postfix) with ESMTP id B7BB8AE4360;
        Thu, 31 Aug 2006 16:49:16 -0700 (PDT)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id E2199148E3AE; Thu, 31 Aug 2006 18:49:01 -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 imo-m27.mx.aol.com (imo-m27.mx.aol.com [64.12.137.8])
        by lists.realsoftware.com (Postfix) with ESMTP id BB136148E39E
        for <realbasic-nug at lists dot realsoftware dot com>;
        Thu, 31 Aug 2006 18:48:56 -0500 (CDT)
Received: from GAmoore at aol dot com
        by imo-m27.mx.aol.com (mail_out_v38_r7.6.) id w.2fa.248c8180 (29673)
        for <realbasic-nug at lists dot realsoftware dot com>;
        Thu, 31 Aug 2006 19:48:48 -0400 (EDT)
From: GAmoore at aol dot com
Message-ID: <2fa dot 248c8180 dot 3228cf5f at aol dot com>
Date: Thu, 31 Aug 2006 19:48:47 EDT
To: realbasic-nug at lists dot realsoftware dot com
MIME-Version: 1.0
X-Mailer: Thunderbird - Mac OS X sub 310
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.2
Subject: SQL
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

Does RB have a good SQL implementation? I assume there is a plug in and example code?
thanks
Greg
_______________________________________________
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>