G.3.14 Copying values

For the semantics of the parameter ARRY see Conventions of the arrays API.

Function: mbfl_array_range_copy DST_ARRY DST_IDX SRC_ARRY SRC_IDX NUMBER_OF_SLOTS

Copy NUMBER_OF_SLOTS slots from SRC_ARRY starting at SRC_IDX to DST_ARRY starting at DST_IDX.

mbfl_declare_index_array_varref(DST, (. . . .))
mbfl_declare_index_array_varref(SRC, (a b c d))
#                                     0 1 2 3

mbfl_array_range_copy _(DST) 1 _(SRC) 2 2

mbfl_slots_qvalues(DST) ⇒ . c d .

This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.