Re: C version of ADDLC on very long variables

Keith Carpenter <[email protected]>
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Elvis Budimlic wrote:
> What data type is S?

> DCL DD A CHAR(68);
> DCL DD B CHAR(68);
> ADDLC(S) A, B;

"S" specifies the short form of the opcode requiring only 2 parms.   In
this case, "A" servers as both operand and result.  The normal or long
form has 3 parms where the result is parm 1 and the operands are parms 2
and 3.

Not unlike the way ADD in RPG can omit factor 1.

_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.