SecondBASIC Documentation v3

Home / Command Reference / Import

Import

Description: Adds an ASM library to your project. The ASM library will be included at the end of the source code regardless of where the Import command is located in your project. The library file must be in the \slibrary\ folder in the SecondBASIC program folder. Unlike LIBRARY, this requires the library file to end in ".s" and the variable file to end in ".var".

Syntax:

Import <Library>

Part Description
<Library> Required. This is the name of the library to import. The library is the same name as the library file.

Example:

    Import Example
    Call ExamplePrint, "Hello World"