Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @import

@import

Panther
Documentation


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