table existing

Prev Next

Function Names

table existing

Description

This function checks if a table under this name is existing. The table is also considered existing if it is empty.

Call as: function

Restrictions

Indirect parameter passing is disabled

Parameter count

1

Parameters

No.TypeDescription
1
input
string name of table

Return value

TypeDescription
boolean Result

true if existing, false if not existing.

Examples

      table create( my table );
      echo( table existing ( my table ) );
      echo( table existing ( my other table ) );

Output

true
false
Try it yourself: Open LIB_Function_table_existing.b4p in B4P_Examples.zip. Decompress before use.

See also

table clear