If statement not working after Mathcad 15 to Mathcad Prime 3 conversion.
nn = 0, 1, .. 499
P[nn := if(nn = 0, S[0, P[(nn-1) - S[n)
Mathcad Prime complains that P[(nn-1) is not defined, but works in Mathcad 15.
Any suggestions on how to fix this?