Multiple choice technology programming languages

The sum statement is equivalent to using the SUM function and the RETAIN statement, as shown here: retain variable 0; variable=sum(variable,expression);

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The SUM statement and the SUM function+RETAIN combination are functionally equivalent. Both initialize the variable, retain its value across iterations, and add the expression value. The SUM statement 'variable+expression;' is shorthand for the two-statement form shown, making this statement True.