Posts: 2,175
Threads: 235
Joined: Sep 2009
Reputation:
0
becouse i want like change espressions from database
Posts: 882
Threads: 50
Joined: Jun 2012
Reputation:
0
Wait, I have a working function I had wrote it long back in VC++(actually its in C)...I will search and convert it to PAWN and give.The function is big and not optimized.I must search in which program I have written it.
It doesn't support brackets if I am not wrong, you need to modify the code for it to work.It executed things which come first.
Posts: 2,175
Threads: 235
Joined: Sep 2009
Reputation:
0
Mmh so i have to create an expression parser..
Posts: 882
Threads: 50
Joined: Jun 2012
Reputation:
0
In PAWN how do I call/get a variable and perform action on it??
Posts: 882
Threads: 50
Joined: Jun 2012
Reputation:
0
-_- LOL I know that
I am talking if you have 'a' in your string suppose 'a +5'
How will you get the value of a??Or if the string says "a = 5" , how'd you do that??My code being an interpreter stores a structure of variables with its name and find out and set the variable by loop but this is not the case here.My code is difficult to convert so I am writing a new one.
Posts: 2,175
Threads: 235
Joined: Sep 2009
Reputation:
0
you can't convert a string like "a = 5" to a = 5.. you need a expression parser..