3.3.2 Modifying Main Program Array Variables

Warning: The main program customization variables associated with arrays are not documented.

Customization variables for the main program associated with an array of values are handled differently. You can use texinfo_add_to_option_list to add values to the array and texinfo_remove_from_option_list to remove values from the array associated with the customization variable:

Function: texinfo_add_to_option_list ($variable_name, $variable_values_array_reference, $prepend)
Function: texinfo_remove_from_option_list ($variable_name, $variable_values_array_reference)

$variable_name is the name of the variable; the values in the array reference $variable_values_array_reference are added to the list associated with the variable with texinfo_add_to_option_list, and removed with texinfo_remove_from_option_list.

If the optional argument of texinfo_add_to_option_list $prepend is set, the values are prepended instead of being appended.