#crashes with a stack overflow def calcSum(n): print ("n=",n) n = n + calcSum(n-1) print("At A",n) #line A #endsub #main x = calcSum(10) print("At B",x)