Is there a VFP equivalent to the EVAL() function in VBA?
For those unfamiliar with EVAL(), it can be used to evaluate an expression that results in a text string or a numeric value. Amongst other things, it can be used to evaluate/construct function names on the fly, e.g.
in VBA runs the functions A1, A2, A3, etc, sequentially.
I need to do something similar in VFP 5.0a but can't find a similar function. Anyone have any ideas?
For those unfamiliar with EVAL(), it can be used to evaluate an expression that results in a text string or a numeric value. Amongst other things, it can be used to evaluate/construct function names on the fly, e.g.
Code:
Dim intI As Integer
For intI = 1 To 50
Eval("A" & intI & "()")
Next intI
I need to do something similar in VFP 5.0a but can't find a similar function. Anyone have any ideas?