Import

From Bennu Wiki
Jump to navigation Jump to search


Syntax

import " <filename> "

Description

Imports a Bennu DLL with name filename into the program, which allows the usage of additional functionality in a Bennu program. For more information, see the article on DLLs.

Example

import "mod_say"
import "my_dll";

Process Main()
Begin
End

Used in example: import


Keywords
Basic statement BEGINCONSTDEBUGDECLAREENDFUNCTIONGLOBALLOCALONEXITPRIVATEPROCESSPROGRAMPUBLIC
Control flow statements BREAKCALLCASECONTINUEDEFAULTELIFELSEELSEIFELSIFFORFRAMEFROMGOTOIFJMPLOOPREPEATRETURNSTEPSWITCHTOUNTILWHILEYIELD
Misc INCLUDEIMPORT