table renameThis function renames the table. The contents remain untouched.
Indirect parameter passing is disabled
2
| No. | Type | Description |
|---|---|---|
| 1. input |
string | Name of existing table |
| 2. input |
string | New table name |
table initialize( t, {{ Name, Street }, { Miller, '3. Hill St.' }} );
table rename( t, u );
echo("Original table renamed:");
table list( u );Original table renamed:
0 : Name | Street
1 : Miller | 3. Hill St.