From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

This terminal command loads a global library from the Flash Disk into RAM . In the process, the program is checked for syntax errors. Syntax errors are written to the TRN.ERR file, which may be retrieved to see which errors occurred. Only libraries without syntax errors may be executed .

The StackSize optional parameter sets the size of local (Dim) variables’ stack. It’s value is a actually a floating point multiplier of an internal basic stack size.  This basic stack size is the lowest size allowed for local data stack (when size multiplier is 1), whereas the highest value depends on the amount of freememory available.


LoadGlobal <global library name>  {StackSize = <stacksize multiplier>}


All versions


<global libraryname>: File specification, including file name and "LIB” extension.

< stacksize multiplier >: Double


< global library name >: The global library must exist on the Flash Disk

< stacksize multiplier >:1 to MaxDouble


<stacksize multiplier>:1


Terminal only


The only limitation is free memory space. The largest block of free memory may be queried using the SYSTEM.MAXMEMBLOCK query.


LoadGlobal  GlobLibr.Lib

See Also