gettingstarted
[Top] [All Lists]

Re: Two-Dimensional Array as Property?

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Two-Dimensional Array as Property?
From: Barry Traver <rb at ix dot netcom dot com>
Date: Thu, 29 Dec 2005 22:41:09 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <912A3425-B487-4174-A150-EA30B04247EE at pcisys dot net> <424FD006-EF18-4FFC-B929-84C74E59B709 at hit dot net> <0F460F05-B180-417B-A2E8-DE722246ACCE at pcisys dot net> <fe7c1151778672b7883db06cb89449b2 at declareSub dot com> <98C91AFA-1AE3-46A0-8A68-89C33AF50DB0 at pcisys dot net> <AE326F2E-2B23-4BA5-AE29-11C0B7126BB6 at pcisys dot net> <ff922d9250bd66fc78285b09ec5c5f92 at declareSub dot com> <43B3AD25 dot 2050407 at ix dot netcom dot com> <E9F1D22D-3EE1-4A58-AFB8-013502E26D0B at freaksw dot com> <DBA6FCDC-6C43-4F74-A953-21194F8D89A8 at hit dot net>
Jack,

Don't put a space in the declaration.

That is: Array(-1, -1) will fail but Array(-1,-1) will work.

Yes, it's a bug in the declaration entry field. If a space is placed intentionally or inadvertently between the arguments the property declaration is truncated at that point upon run or tab.

Very interesting. Ordinarily RB is very forgiving on spacing or use of case, much more so than Visual Basic. As far as I know, in the actual source code it doesn't matter whether or not you have a space after a comma, a space before or after a parentheses symbol, or a space before or after a mathematical symbol (+, -, *, /, ^). Nor do differences in case (upper/lower) cause any problems.
Barry Traver

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