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



>MOVE does what it says it does.  It copies the value of 
>factor 2 into the result variable.  When the data types 
>dont match, the copied value is converted in a predictable 
>way, just like the programmer wants it to. In my view, the 
>only problem with MOVE is that it does not pad fill 
>the result variable.

You just made my point that MOVE is easy to misunderstand.  In RPG III, you
can pad fill with P in column 43.  In RPG IV, MOVE(p) will pad.  I have
personally seen programmers overlook that lowly column to the right and
mis-read what the code is doing.  At least moving the extender into the
opcode itself saves some of these errors.
  --buck

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.