realbasic-nug
[Top] [All Lists]

Re: Is this a bug?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Is this a bug?
From: Terry Ford <tmford at shaw dot ca>
Date: Fri, 31 Aug 2007 21:21:00 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <C2FE27FB dot 2541A%rb at the-meiers dot org> <57659583-2242-463C-95E2-41233CEB2C57 at thezaz dot com>
On Aug 31, 2007, at 8:44 PM, Thom McGrath wrote:

> Okay, that works and makes sense. I used "or" because I thought I
> remembered "," not working in the past - but that could have been
> another language.
>
> I still consider there to be a bug here though. If using "or" does
> not work, why does it not throw a compile error?
>
> <http://realsoftware.com/feedback/viewreport.php?reportid=whjikvjz>
>
> --
> Thom McGrath
> The ZAZ Studios
> <http://www.thezaz.com/> AIM: thezazstudios

Select Case has been using the current "," for or syntax since 5.5  
days. The fact that it still doesn't accept complex equations is sad  
but, sadder still, is the fact that it doesn't object to these  
statements sometimes. It's not just bad that it doesn't show a  
compile error but that it merrily goes on executing code at runtime.  
It will merely pass over the case line even if one of the "or"  
quantities is a match.

I signed on.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


From  Fri 31 Aug 2007 22:28:34 -0600
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 509C83FDA8A1; Fri, 31 Aug 2007 21:28:44 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
        www.realsoftware.com
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 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 3A5A63FDA897;
        Fri, 31 Aug 2007 21:28:43 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP id 369435F375C;
        Fri, 31 Aug 2007 23:28:28 -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 mail.verex.com (mail.verex.com [66.116.103.197])
        by lists.realsoftware.com (Postfix) with ESMTP id 26AAA5F3751
        for <realbasic-nug at lists dot realsoftware dot com>;
        Fri, 31 Aug 2007 23:28:23 -0500 (CDT)
Received: from [66.116.103.197] (localhost [127.0.0.1])
        by mail.verex.com (Postfix) with SMTP id 766407B5235
        for <realbasic-nug at lists dot realsoftware dot com>;
        Fri, 31 Aug 2007 22:28:34 -0600 (MDT)
Date: Fri, 31 Aug 2007 22:28:34 -0600
Subject: Re: Quesa Bundling (yet again)
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <F19AE82C-16EA-45B2-AE3F-D196A277F15D at pomona dot edu>
X-Mailer: VerEx Email Gateway
Message-Id: <20070901042834 dot 766407B5235 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 Sep 01, 2007, at 01:48 UTC, Thomas Moore wrote:

> In the meantime, my main reason for using declares is that I can  
> easily create simple geometric objects in Quesa (cylinders, cones,  
> rectangular boxes, and spheres) that look very good and (most  
> importantly) whose dimensions can be very easily and  
> straightforwardly set in code. I know that I can create 3DMF string  
> objects and manipulate the string in code, but I tried and tried with
> this and gave up in despair -- it was *much* easier (for me) to do  
> this with declares! Also, I could never get spheres to look right -- 
> they looked unacceptably lumpy, whereas the Quesa spheres really look
> like perfectly round spheres.

Something was seriously wrong then.  A sphere created from 3DMF is
exactly the same as one created with declares.  Were you only
approximating a sphere with a trimesh, or some such?

> It was also very important to be able  
> to draw these things *fast*, and I worried that creating a tri-mesh  
> sphere (or cylinder or cone) with sufficiently small triangles so  
> that that it looked good would take a long time to draw (when I might
> have to draw several hundred of them in a fraction of a second).

Ah, sounds like that's what you were doing.  Try using the 3DMF for a
sphere or cylinder or cone instead.  You should find examples in the
"3D Graphics:3DMF Examples" folder among the sample projects.  The 3DMF
code for these primitives is very short and easy to manipulate, and
will produce the same results as the declares.

Best,
- Joe

--
Joe Strout -- joe at strout dot net
Strout Custom Solutions, LLC

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>