This document describes Accumulators and their benefits for ACL/E programming. These Accumulators are predefined variables which allow you to do basich arithmetic in ACL/E. How they can be used is explained in this article.
ACL provides four predefined numeric variables called Accumulators. The names of these variables are A1, A2, A3 and A4. Accumulators are mainly used for loop counters e.g. when reading the lines of a screen into variables etc.
They have the following features:
SET An,integer
ADD An,An
ADD An,integer
SUB An,An
SUB An,integer
COMPARE An,An
COMPARE An,integer