table append blank rows

Prev Next

Function Names

table append blank rows

Description

This function adds a specified number of blank rows to the end of the table

Call as: procedure

Restrictions

Indirect parameter passing is disabled

Parameter count

2

Parameters

No.TypeDescription
1
input
string name of new or existing table

Table must be existing when using table append... functions. Otherwise, it does not matter.

2
input
numeral Number of rows to append

The rows added are entirely blank, i.e. 0 columns per row..

Examples

       table initialize( animals, { { Animal, size }, { ant, tiny }, { mouse, small } } );

       table append blank rows( animals, 2 );
       table append( animals,
               { { rat, not that small }, { horse, big } } );

       table list ( animals );

Output

    0 : Animal | size          
    1 : ant    | tiny          
    2 : mouse  | small         
    3 :        |               
    4 :        |               
    5 : rat    | not that small
    6 : horse  | big           

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

See also

table append