Note: This is an archived post that was originally sent to the Hollywood mailing list on 25 Jul 2009 18:12:22 +0100
Hello all,
I would like to know how to get the dimension of a table. This goes especially for the rows of a table. Is there a way to inspect the borders of a table without running into an error when going beyond the border of a table?
Regards GMKai
[25 Jul 2009] tabledimension
[25 Jul 2009] Re: tabledimension
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 25 Jul 2009 21:58:42 -0000
I might be misunderstanding the question, but couldn't you use ListItems() for this?
I might be misunderstanding the question, but couldn't you use ListItems() for this?
[31 Jul 2009] Re: tabledimension
Note: This is an archived post that was originally sent to the Hollywood mailing list on 31 Jul 2009 22:00:14 +0100
Hallo rev,
this does work for one-dimensional tables. But how can one count two dimensional tables?
Hallo rev,
this does work for one-dimensional tables. But how can one count two dimensional tables?
[31 Jul 2009] Re: tabledimension
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 31 Jul 2009 21:18:26 -0000
You can also use ListItems() to get your second dimension. Try the following:
(This will print 7 ten times.)
Please forgive me if I'm still misunderstanding.
You can also use ListItems() to get your second dimension. Try the following:
Code: Select all
Dim TestTable$[10][7]; creates your 2 dimensional table (10x7)
For x=0 To ListItems(TestTable$)-1 Do DebugPrint(ListItems(TestTable$[x]))
Please forgive me if I'm still misunderstanding.
[01 Aug 2009] Re: tabledimension
Note: This is an archived post that was originally sent to the Hollywood mailing list on 01 Aug 2009 17:18:57 +0100
silly me, it was sufficient to call ListItems(t_table)...
silly me, it was sufficient to call ListItems(t_table)...