ADD (Add)
Description: Adds factor 1 to factor 2 and stores the result in the result field.
Legacy RPG400 Example:
C Factor1 ADD Factor2 Result
C ADD 5 Total 50
C ADD 5 Total 50
Modern RPGLE Example:
dcl-s Total packed(5:0);
Total = Total + 5;
// Or we could use the '+=' instruction which means "add this to existing value"
Total += 5;
