thanks for the pointer on using ints in lua 5.1w6 :) > Also a little question, I'm starting with lua and from > time to time I'm crashing the lua vm after quite a > number of operations. >You'll have to provide us with more details. Ideally, >a simple test program >that can reproduce the problem. I have been able to reproduce it in a little example, the problem was that I was popping information from the stack despite the previous lua code execution failed (so I suppose I was popping without results being pushed to the stack) in my computer crashes always at iteration 25 (using msvc 6, lua 5.0),as long as Luaexec call fails for any reason (i.e. GenericObject not found, stand being null, ....) ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
Attachment:
luacr.cpp
Description: 337907775-luacr.cpp