This is an internal function that works upon the
from the targeted function, that should be one of the functions
The result returned by
This function starts out by calling
LG_sanity_checks that investigates if the arguments
given to the targeted function makes sense. Then it does as
its name suggests, i.e. it takes care of the bookkeeping of the
information stored in the info-file.
The result will be a list with either three or six
components. The first component, the logic value
done_before, tells us if there already has been
performed (and stored in
data_dir an identical
computation. If this is the case, then the second component of
the result, also named
data_dir, will tell us the
directory to find the result – whereas the third component
data_files gives the files containing the results. If
no similar computation has been found, then
data_files will tell
LG_save where to store the
results, and the result will in addition also contained an
updated version of
bookmark and the path
to the info-file, in order for the parent-function to update
the info-file _after_ the computation has been successfully
performed and saved.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.