Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @import

@import

Panther
Documentation


Note

Information on this page may be incorrect / out-of-date. An updated version of the site (powered by Panther!) is coming soon, which will include all fixes.

1: func @import = (filepath: [Char:*]) -> {MODULE};

  Import a Panther file as a module.

Parameters

  filepath: path of the file to import

Return Value

  The imported Panther file as a module.

Example

(TODO)

See Also

@importC Import a C file
@importCpp Import a C++ file