If it's any consolation, this seems to work:
code:
Function Exp2($Base, $Power)
;Returns a base value raised to the specified power
$ = iif($Power = 0, '$$Exp2 = 1', '$$Exp2 = Exp2($$Base, $$Power - 1) * $$Base')
$ = execute($)
EndFunction
_________________________
Eric