such as:
==================================
s1='begin'+
+'var a; '
+'var b; '
+'func xy; '
+'a = "Summa"; '
+'b = "Count"; '
+'Result = xy(a,b); '
+'end '
TPivotMap.AddCalculatedMeasure(‘Summa percents’; s1);
============================
My question is "where can define func xy",would you give me a more detail example? thank you very much!