MC-Basic:LOADGLOBAL
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.
Syntax
LoadGlobal <global library name> {StackSize = <stacksize multiplier>}
Availability
All versions
Type
<global libraryname>: File specification, including file name and "LIB” extension.
< stacksize multiplier >: Double
Range
< global library name >: The global library must exist on the Flash Disk
< stacksize multiplier >:1 to MaxDouble
Default
<stacksize multiplier>:1
Scope
Terminal only
Limitations
The only limitation is free memory space. The largest block of free memory may be queried using the SYSTEM.MAXMEMBLOCK query.
Examples
LoadGlobal GlobLibr.Lib