Next: , Up: variables   [Contents][Index]


17.1 Manipulating arrays

Manipulating colon variables, for the use of the following functions.

Function: mbfl_variable_find_in_array element

Search the array mbfl_FIELDS for a value equal to element. If it is found: Print the index and return true; else print nothing and return false.

mbfl_FIELDS must be filled with elements having subsequent indexes starting at zero.

Function: mbfl_variable_element_is_in_array element

A wrapper for mbfl_variable_find_in_array() that does not print anything.


Next: , Up: variables   [Contents][Index]

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