On Jan 25, 2007, at 11:41 AM, joe at strout dot net wrote:
I think the generally preferred idiom is to make your own container
class and accessor specific to your data. For example, see Group2D,
which is essentially a wrapper for an array of Object2Ds (plus some
additional functionality).
I thought about that, but it seems a class would run into the same
issues. My plugin is accessing some directory services (proprietary,
but conceptually similar to LDAP).
From some lookup function, I need to return the results, which is
basically a two-dimensional array. each row is one matching record,
with the columns determined by the fields requested.
Both dimensions would be unknown, and would seem to encounter the
same problem inside a class as outside.
Steve Cochran
_______________________________________________
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 25 Jan 2007 21:48:40 +0100
Return-Path: <realbasic-plugins-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 593DB1812B78; Thu, 25 Jan 2007 12:48:58 -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.5 required=4.5 tests=AWL,BAYES_00 autolearn=ham
version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
by xmail.realsoftware.com (Postfix) with ESMTP id D654D1812B6D;
Thu, 25 Jan 2007 12:48:53 -0800 (PST)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP
id 92C801873377; Thu, 25 Jan 2007 14:48:45 -0600 (CST)
X-Original-To: realbasic-plugins at lists dot realsoftware dot com
Delivered-To: realbasic-plugins at lists dot realsoftware dot com
Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de
[80.67.18.43])
by lists.realsoftware.com (Postfix) with ESMTP id 76A46187336A
for <realbasic-plugins at lists dot realsoftware dot com>;
Thu, 25 Jan 2007 14:48:41 -0600 (CST)
Received: (qmail 1217 invoked from network); 25 Jan 2007 20:48:40 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 101 dot
234])
(envelope-sender <support at monkeybreadsoftware dot de>)
by smtprelay05.ispgateway.de (qmail-ldap-1.03) with SMTP
for <realbasic-plugins at lists dot realsoftware dot com>;
25 Jan 2007 20:48:40 -0000
To: realbasic-plugins at lists dot realsoftware dot com (REALbasic Plugins)
In-Reply-To: <99C128BD-5175-4A0D-82F9-DFE40CEE4240 at cahir dot net>
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Thu, 25 Jan 2007 21:48:40 +0100
Message-ID: <1hsin8d dot 1t16fcgi7ag2cM%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.7 (Mac OS X version 10.4.8)
Subject: Re: Returning an RB array
X-BeenThere: realbasic-plugins at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot
com>
Sender: realbasic-plugins-bounces at lists dot realsoftware dot com
Errors-To: realbasic-plugins-bounces at lists dot realsoftware dot com
Stephen A. Cochran Lists <stephen dot a dot cochran dot lists at cahir dot net>
wrote:
I thought about that, but it seems a class would run into the same
issues.
I think my plugins contain at least 10 classes for just wrapping an
array.
Gru=DF
Christian
--=20
Around eleven thousand functions in one REALbasic plug-in.=20
The Monkeybread Software Realbasic Plugin v6.5. Now universal!
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
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>
|