Jump to content

Anyone have a 2D array display function?


Recommended Posts

I know how to use _ArrayDisplay, but I need to be able to view a 2D array.

I could use a For...Next loop, but my $array[0][0] contains data, not the record count.

How can I display the array without knowing how large the array is?

EDIT:

I am basically dumping a database recordset to an array.

The way the MS object works, I won't know how large either dimension is in the $array[?][?].

I need a way to display the array without knowing how large either of those numbers are.

EDIT2:

The database dump comes out in this format...$array[record#][value].

$array[0][0] is the first record and the first value of that record.

$array[0][1] would be the first record and the second value (if the table has more than one field).

Hope that helps.

Edited by Raestlin
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...