Jump to content
Sign in to follow this  

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?


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.


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

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.