Quote Originally Posted by Cybermonkey View Post
Ok, just for completely understanding: Do you want to execute a Lua script from your Pascal program and return the boolean value to the Pascal program or do you want to implement that function in Pascal and execute it from a Lua script and return the result to the Lua script?
To execute a Lua script from my Pascal program and return the boolean value to the Pascal program. In other words, I would like to use my Lua script, from my Pascal program, as I use a Pascal unit or a DLL: call a function and get the result.