realbasic-nug
[Top] [All Lists]

Possible to extract dimensions of values from an array?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Possible to extract dimensions of values from an array?
From: Dave Crist <davecrist at mac dot com>
Date: Mon, 27 Feb 2006 21:56:41 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Not that Java is the be-all-end-all... but I am doing some class conversions to RB and realized that Java have a convenience method for extracting one dimension of an array.

If you have a 2-D array and address it like myArray[0][3], for example, you would get a single value back...

However, if you would like a reference to all of the values from a single row... you can ask Java for just myArray[0] and you would get back a one-D array representing all of the values for that row...

Does RB have the equivalent, by chance?... :) I can't seem to find a reference to it in the Help or the UG... but I'm pretty stupid.

Thanks,

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