Skip to content

loadstring

Description:

This function demonstrates the usage of the loadstring API.

Example:

-- Load and execute a string as Lua code
local func = loadstring('print("Hello World")')

func()