~Vamsi
4th February 2002, 21:04
This works:
#define STR(...) """" & ... & """"
temp.string = "abc|defg"
pipe.markers = "...|...."
exprstr = STR(temp.string) & " in " & STR(pipe.markers)
expr_id = expr.compile(exprstr)
if l.expr(expr_id) then
foo.bar()
endif
This requires me to use expr.compile every time a new expression needs to be evaluated. Instead I would like to compile the expression once and just assign values to temp.string and pipe.markers and call l.expr on the fly.
#define STR(...) """" & ... & """"
temp.string = "abc|defg"
pipe.markers = "...|...."
exprstr = STR(temp.string) & " in " & STR(pipe.markers)
expr_id = expr.compile(exprstr)
if l.expr(expr_id) then
foo.bar()
endif
This requires me to use expr.compile every time a new expression needs to be evaluated. Instead I would like to compile the expression once and just assign values to temp.string and pipe.markers and call l.expr on the fly.