UNLOAD Statement |
UNLOAD module
Loads a MyBASIC2 program that can be used as a library. The program can have a number of functions and/or subroutines that can be called by using the "module@funcname" syntax. LOAD can also be used to load an extension library instead of using $LIBRARY. This allows the library to be loaded/unloaded on demand.
Note; Current version doesn't support a module array item as module variable.
Examples:
LOAD "D:\Tech\Projects\COMMON\MyBASIC2\Test Files\sub.bas" AS m LOAD "user32.dll" AS user LOAD "MyBASIC2_ExtLib.dll" AS m UNLOAD m
|