TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Trevor Keast
NA
1
0
Evaluating IF statements at runtime
Mar 18 2009 11:46 AM
Hi,
I have a need to evaluate IF THEN ELSE statements at run time. I am trying to find an example in the simplest form. I am basically creating a "Rules Manager". I need to take values from my program at runtime (read from a file) and manipulate them. For Example:
IF (customerName == "test")
customerName == "smith";
However I need these "rules" to be stored in a separate file and not hard coded. The customerName would be coming out of my program however the IF conditional would need to be read from a text file and evaluated at runtime.
Can anyone point me in the right direction here? A basic example would be a great help.
Many thanks!
Reply
Answers (
2
)
Update Query for Excel file database
Trying to load an xml document in my windows forms application