Last modified by John Stroy on 2018/10/19 11:40

  • John Stroy
    John Stroy, 2012/09/30 07:19

    Kejardon's original text for this spec:

    test(a,b,c,d)=stuffa+stuffb+stuffc,stuffd

    Evaluate stuffa. Note result (2).
    Evaluate stuffb. Note result (3).
    Add (2) and (3), note result (4). Invalid term/operator combinations throw an error here.
    Evaluate stuffc. Note result (5).
    Add (4) and (5), note result (6). (6) is final result of calculations.
    Paranthesis do not affect order terms are evaluated in (Always left-to-right). Paranthesis do affect when operators happen.