Import

From Bennu Wiki
Revision as of 12:36, 4 June 2009 by Sandman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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