Load a model file into memory for use with a script


load ‘<model file name>’


The LOAD command loads and compiles the specified model file for use in a CMD script.  The designated model file should be open in Magnolia, and the name used in the LOAD command should appear just as it does in the tab atop the editor window (that is: case sensitive and including the “.csl” file extension).  Multiple model files may be open simultaneously in Magnolia; the LOAD command tells a script file which one is to be controlled by the associated script code.  Note that each time the script is execute, the model code is loaded and rebuilt again, although this usually only takes a fraction of a second.


load ‘example_model.csl’