[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Attempt to perform arithmetic on a string value
- From: Stoil Todorov <torpedo_st@...>
- Date: Sun, 28 Mar 2004 07:42:11 -0800 (PST)
Could someone tell me how to avoid the error, wchich
LUA sends when it performs arithmetic operation with
empty string value.
I receive A runtime error "8: attempt to perform
arithmetic on field `value' (a string value)" when I
A1.value = A2.value + 10; -- A2.value = ""
Maybe I have to use metatables for all arithmetic
Thank you in advance!
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.