[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- 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
do next:
A1.value = A2.value + 10; -- A2.value = ""
Maybe I have to use metatables for all arithmetic
operations?
Thank you in advance!
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html