calculating inside strings
#1

Ok today i got pwned by pawn when i din`t knew how to make universal calculator like i enter string "(5+5)/2" and placing it into
Код:
answer=string
in my eyes that should look
Код:
answer=(5+5)/2
but it looked a way different, so have anyone any sugestions how to calculate string it can by step b step method like "chose: symbol or number ", "select symbol", "symbol added" and so on, hope you understand me and thanks in advance
step by step i mean that i pick number:
Код:
formula=15
then pick symbol +-*/ () sqrt this time (
Код:
formula=15(9
then symbol *
and then 9
and lastly )
i press finish
and i get answer to that one formula
Код:
formula=15(9*9)
Reply


Messages In This Thread
calculating inside strings - by oggylt - 08.04.2010, 12:19
Re: calculating inside strings - by oggylt - 09.04.2010, 10:10
Re: calculating inside strings - by Grim_ - 09.04.2010, 10:12
Re: calculating inside strings - by oggylt - 09.04.2010, 10:17
Re: calculating inside strings - by [MWR]Blood - 09.04.2010, 10:20
Re: calculating inside strings - by oggylt - 09.04.2010, 10:35
Re: calculating inside strings - by oggylt - 10.04.2010, 12:46

Forum Jump:


Users browsing this thread: 4 Guest(s)