This forum allows you to share scripts with other Zeus users. Please do not post bug reports, feature requests or questions to this forum, but rather use it exclusively for posting scripts or for the discussion of scripts that have been posted.
- Posts: 1
- Joined: Mon Jul 13, 2009 3:05 pm
I'm trying to write a macro to get the name of a function in C code, but every time I use the function
, I get the following error message:
attempt to index local `string' (a nil value)
I'm using Zeus v. 3.93.
- Site Admin
- Posts: 2484
- Joined: Fri Aug 13, 2004 5:10 pm
string.format("%c", ... )
There is an example of the string.format
function in the c:\Program Files\Zeus\zScript\char.lua
I checked this script and it ran fine for me.
I'm using Zeus v. 3.93
You are running a very old version of Zeus, which will also means you are running a very old version of Lua.
If the script above does not run on your version of Zeus you might in fact be seeing a bug in Lua