I updated from lua 5.1 to 5.3.2 , One of my scripts didn't work cause of attempt to call a nil value (global 'loadstring')
So, did they replace it with a new function?
There you can find the function https://www.lua.org/pil/8.html
There you can test it ( won't work) http://www.lua.org/cgi-bin/demo
Since Lua 5.2, loadstring
has been replaced by load
.
From Lua 5.2 reference manual:
Function
loadstring
is deprecated. Useload
instead; it now accepts string arguments and are exactly equivalent toloadstring
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With