# lib_globalize function library

Dependencies:

## Description

Functions for saving arrays with global scope from within functions, and then loading them. (Takes advantage of the fact that function definitions are always global.)

I wrote this to see if it could be done; no promises that it's actually useful!

## Public functions

globalize_array_load(silent:b, array:s)=(success:s, array:a) dimorphic

The associative array 'array', which should previously have been saved, is loaded and returned as 'array'. 'success' is returned as 1 if the array was previously saved or 0 otherwise. If success=0, we print a warning, unless silent=1.

globalize_array_save(append:i, array:s)=() dimorphic

The associative array 'array' is saved, to be accessed later. If append=1, we append to an existing saved array.