8.1 Declaring arrays

Preprocessor Macro: mbfl_declare_assoc_array (ARRAYNAME)
Preprocessor Macro: mbfl_declare_assoc_array (ARRAYNAME, INIT)

Respectively expand into the statements:

declare -A ARRAYNAME
declare -A ARRAYNAME=$INIT
Preprocessor Macro: mbfl_declare_index_array (ARRAYNAME)
Preprocessor Macro: mbfl_declare_index_array (ARRAYNAME, INIT)

Respectively expand into the statements:

declare -a ARRAYNAME
declare -a ARRAYNAME=$INIT

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