Difference between revisions of "ImportUtil"

From MiniScript Wiki
Jump to navigation Jump to search
(Initial Page)
(No difference)

Revision as of 17:20, 31 March 2025

This system module provides a single global function to help with importing other modules into larger programs. See Import for more information.

Global Function

Name Description
ensureImport Imports a module into the global scope. This ensures that the module is imported only once.


Example

  import "importUtil"
  ensureImport "events"