Re: C version of ADDLC on very long variables

"Elvis Budimlic" <ebudimlic-Ebbh53c6wcYkzXN11fiE55igCaZBIYHkAL8bYrjMMd8@public.gmane.org> Thu, 5 Oct 2006 12:26:52 -0500
Newsgroups gmane.comp.lang.as400.mi
Message-ID <021701c6e8a3$78a1a2d0$6e01a8c0@VMHXP>
Ah, I see.
>From the MI description: "The addition operation is performed according to
the rules of algebra."

What exactly do "rules of algebra" mean in this context?
Is it byte1 + byte2?  Or 4bytes + 4bytes?
Perhaps we can emulate the operation in C.

Elvis

-----Original Message-----
Subject: Re: [MI400] C version of ADDLC on very long variables


S for short form?

DCL DD A CHAR(68);
DCL DD B CHAR(68);
ADDLC A, A, B;  // is the same as:
ADDLC(S) A, B; 


_______________________________________________
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.