Raestlin Posted May 24, 2006 Share Posted May 24, 2006 (edited) 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 May 24, 2006 by Raestlin Link to comment Share on other sites More sharing options...
neogia Posted May 24, 2006 Share Posted May 24, 2006 I've created exactly what you're looking for. It's in my signature, or you can click here. [u]My UDFs[/u]Coroutine Multithreading UDF LibraryStringRegExp GuideRandom EncryptorArrayToDisplayString"The Brain, expecting disaster, fails to find the obvious solution." -- neogia Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now