Module el.script

Script module.

Functions

load (path, env) Load a known script.
exec (path, env, ...) Run a known script.


Functions

load (path, env)
Load a known script.

Parameters:

  • path string The script to run
  • env table The environment to use or _ENV

Returns:

    table The script's descriptor table

Usage:

    script.load ('scriptname')
exec (path, env, ...)
Run a known script.

Parameters:

  • path string The script to run
  • env table The environment to use or _ENV
  • ... any Arguments passed to script

Returns:

    any Return value from script or no value

Usage:

    script.exec ('scriptname')
generated by LDoc 1.5.0 Last updated 2024-02-18 20:31:17