.. highlightlang:: us .. index:: lua_require .. _lua_require: lua_require =========== .. us.tag lua_require NOTREADYENGLISH Lua New5800 :ref:`lua_require` invokes the Lua ``require`` function. .. function:: ret = lua_require(ssLib) .. us.return **Return Value** *ret* .. us.params **Parameters** .. uparam:: ssLib *ssLib* .. us.example **Example** :: lmath = lua_require("math"); lsin = lua_get(lmath, "sin"); r = lua_call(lsin, 1); .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2016.0 - New. .. seealso:: :ref:`overview-lua`, :ref:`Lua`, :ref:`lua_call` :sub:`id-1857200`