Difference between revisions of "MC-Basic:IMPORT"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= Import ''<lib file name>'' |AVAILABILITY= All versions |DESCRIPTION= Imports a library file into a task. To use a subroutine defined in a lib…')
 
m (1 revision)
(No difference)

Revision as of 16:09, 13 December 2010

Imports a library file into a task. To use a subroutine defined in a library file, the .lib file must first be imported at the top of the program and then called by one of its defined subroutines.

Syntax

Import <lib file name>

Availability

All versions

Scope

Task or Library

Limitations

Library must be loaded into memory (using load command).

Examples

Import lib1.lib

Program
        call lib1sub(5)                                      'call one of lib1 subroutines

End Program

See Also