× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I think it goes back to ancient processors and bit twiddlers who determined
that a move might be less processor intensive than multiplication.  So to
multiply by 10 you MOVEL a number into a field that is 1 digit bigger.
I've never used this.

Rob Berendt
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin



                    "Bob Cozzi
                    \(RPGIV\)"              To:     <rpg400-l@midrange.com>
                    <cozzi@rpgiv.com>       cc:
                    Sent by:                Fax to:
                    rpg400-l-admin@mi       Subject:     RE: Strange behavior 
w/%editc()
                    drange.com


                    02/27/2002 10:16
                    AM
                    Please respond to
                    rpg400-l






Did I miss a meeting?  :)
When did the MULT operation code and MOVE/MOVEL get merged? This is the
second reference condemning MOVE/MOVEL in this tread that uses MULT as
the validation for that condemnation.

Bob Cozzi
cozzi@rpgiv.com
Visit the on-line  Midrange  Developer  forum at: http://www.rpgiv.com


> -----Original Message-----
> From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]
On
> Behalf Of Joe Pluta
> Sent: Tuesday, February 26, 2002 9:12 PM
> To: rpg400-l@midrange.com
> Subject: RE: Strange behavior w/%editc()
>
> > From: bmorris@ca.ibm.com
> >
>
> (much snipping, just to get a couple of points)
>
> > Joe, no functionality has been removed.  You can still use MOVE.
> >
> > My problem with MOVE is that it is too powerful.
> >
> > Imagine maintaining code where someone made use of the more
> > arcane features of MOVE, such as multiplication by 10, or changing
> > the sign to positive.  Yikes.  Such code does exist.
> >
> > But I admit that MOVE, MOVEL and MOVEA were omitted deliberately.
>
> Okay, this at least I can get my brain around.  And whether or not I
agree,
> I can understand that it was a reasoned decision.  And I can relate to
the
> concept that MOVE can be abused (hey, look what pain and suffering
MULT
> 100.0001 caused).
>
> I also like the thought that you folks are open to change, although I
can
> see it would take a massive groundswell for you to see your way to
including
> the full-blown move.  I'd like to give you a sound, reasoned reply,
but
> right now I'm debugging an issue that, ironically enough, is partially
> because of a bad MOVE instruction.
>
> The gods, they have humor, but we understand it not.
>
> Joe
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
> To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.







As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.