eddy uk

eddy uk

  • NA
  • 16
  • 0

Dynamic conditions

Jun 17 2010 12:20 AM
Hello.

I have a small software where i need to retrieve a conditional string from database and then check this condition in code.
For instance, i store in database string like this:

x>9&&y==1

In code, I want to replace x and y with values, for instance:
x=5
y=1

and then execute

if(5>9&&y==1)
   // do something

Anyone have an idea how to do so?

Thanks in advanced!


Answers (2)