--- title: results - any, unknown, none and multiple results summary: any is a contract-dependent value; unknown means the contract has not been established. These are not Lua type() results. none and C void have no direct return, but effects and output parameters may exist. section: reference kind: guide status: reference updated: 2026-10-26 tags: ["API","X4"] sources: ["https://wiki.egosoft.com/X4%20Foundations%20Wiki/Modding%20Support/","https://www.lua.org/manual/5.1/manual.html","https://luajit.org/ext_ffi_api.html"] --- ## Meaning any is a contract-dependent value; unknown means the contract has not been established. These are not Lua type() results. none and C void have no direct return, but effects and output parameters may exist. ## Example ```lua local ok, result = pcall(function() return 7 end) -- boolean, then the function results on success. ``` **What happens:** ok = true, result = 7. This fragment does not print or write a log message. The values shown are the expected results of the example. ## Methods and related calls [API reference](wiki:api-index).