list tables
This funtion lists all existing B4P tables. It is very useful for debugging your code.
Indirect parameter passing is disabled
0, 1
No. | Type | Description |
---|---|---|
1 input |
string | Table search string The search string narrows down the name of table to be included in the listing. Wildcard symbols are supported here. |
table create ( my table, another table );
table initialize( table with data,
{ { Name, Favorite Color },
{ Nick },
{ Nicola, Blue },
{ Nicolas, Green, and Yellow } } );
list tables;
echo( new line, "Now list all tables containing 'm' in the name", new line );
list tables('*m*');
// Note: You will also see additional tables like __ excel number formats __ which
// have been created by the library files loaded.
Table Name length # headers min width max width
------------------------------------ ------ --------- --------- ---------
my table 0 0 0 0
another table 0 0 0 0
table with data 4 2 1 3
Now list all tables containing 'm' in the name
Table Name length # headers min width max width
------------------------------------ ------ --------- --------- ---------
my table 0 0 0 0