Difference between revisions of "MC-Basic:LOADGLOBAL$"
m (Miborich moved page Axystems:MC-Basic:LOADGLOBAL$ to MC-Basic:LOADGLOBAL$: Global renaming of Axystems: namespace into (Main):) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:LOADGLOBAL$}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 54: | Line 55: | ||
* [[MC-Basic:LOADGLOBAL|LOADGLOBAL]] | * [[MC-Basic:LOADGLOBAL|LOADGLOBAL]] | ||
− | [[Category | + | [[Category:MC-Basic:Task Control|LOADGLOBAL$]] |
}} | }} |
Latest revision as of 06:04, 22 June 2017
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 library name >: String.
< stacksize multiplier >: 1 to MaxDouble
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$ “LIBRARY1.LIB”
Or
Common shared Str1 as string
Str1 = “LIBRARY1.LIB”
LoadGlobal$ Str1