lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


R.Patton-00@student.lboro.ac.uk wrote:

i keep getting stopped with an error message concerning line three which reads
"error: attempt to call global'addcontour'(a nil value)
stack trace back:
1: main of file ..."

That error indicates that there seems to be no function by the name 'addcontour' defined when your code gets executet.
Are you sure it was defined?
You could (in Lua4) try dumping the global table to see if you did a spelling error or such:
foreach (globals(), function(k,v) print(k,v) end)

HTH, Martin