[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: print("-5.3e - 10"*"2") doesnt work :/
- From: Oldrich Svec <oldrich.svec@...>
- Date: Thu, 27 Apr 2006 22:15:03 +0200
Here (http://www.lua.org/pil/2.4.html) you can find an example of using
strings (print("-5.3e - 10"*"2")) but it doesn't work(attempt to perform
arithmetic on a string value)... I use Lua 5.1.
Generaly I want to use it to calculate strings (fe. "5+1+4" =>
print("5+1+4"+"0") should give 10 but it doesnt work.. :(
Thanks for help
Oldrich Svec