Hi all,
Anybody knows where can I find some information about script engine theory?
I have the requirement:
Our product has some template files, and there placeholder/variabled
embedded inside template (like %CurrentTime%, %HoursRemaining % and so on).
There are also some other variables (like %Coupon%) whose value is based on
values of other variables.
For example
if (%HoursRemainin g% < 5) {
%Coupon% = "Hello 1";
} else if (%HoursRemainin g% < 10) {
%Coupon% = "Hello 2";
} else {
%Coupon% = "";
}
What we need is to build some generic solution to handle this type of
requirements, what I am thinking is to create some type of very simple
script to embed inside template.
So my question is, where can I start to build my script engine? Any
reference/sample I can look?
--
WWW: http://www.imagestation.com/members/hardywang
ICQ: 3359839
yours Hardy