wwEval::lAllowEvalRecursion

Determines if the MergeText function allows recursive expression. So if an expression returns another set of markup expressions (Visual FoxPro 09.00.0000.7423 EXE Support Library for Windows) by default the expanded expression is not evaluated.

Note that this behavior also affects operation of wwUtils.MergeText() and Response.ExpandTemplate(), both of which now do not recurse expression syntax. If you want to use those functions and explicitly support recursion you'll have to write a little extra code like this for ExpandTemplate for example:

loEval = CREATE("wwEval")
loEval.lAllowEvalRecursion = .T.
lcResult = loEval.MergeText( FILE2VAR(Request.GetPhysicalPath) )
Response.Write(lcResult)
o.lAllowEvalRecursion

See also:

Class wwEval

© West Wind Technologies, 2023 • Updated: 01/09/16
Comment or report problem with topic