Not as such, at least not the way you want it...but this works too...
Result var Long
t1 var long '2 in the above example
t2 var long '7 in the above example
t3 var long 'counter
result = t1 : for t3 = 1 to ( t2 - 1 ) : result = result * t1 ) : next t3
I'd bet good money that DT has a macro already made for just this sort of thing...
Bookmarks