table copy table

Prev Next

Function Names

table copy table

Description

This function makes a copy of the table with all contents. If the new table is already existing, then it will be initialized.

Call as: procedure

Restrictions

Indirect parameter passing is disabled

Parameter count

2

Parameters

No.TypeDescription
1.
input
string Name of existing table

2.
input
string Name of new table

Examples

       table initialize( t, {{ Name, Age }, { Ann, 45 }, { Dan, 35 }} );
       table copy table ( t, u );
       table list ( u );

Output

    0 : Name | Age
    1 : Ann  | 45
    2 : Dan  | 35

Try it yourself: Open LIB_Function_table_copy_table.b4p in B4P_Examples.zip. Decompress before use.

See also

table copy table selected rows
table copy table columns