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


  • Subject: Re: MOVEA -> EVAL
  • From: rob@xxxxxxxxx
  • Date: Wed, 6 Jun 2001 13:57:02 -0500


I am starting to see Barb's point.  Which application would have you doing
the following?
    MOVEA  arr1(n)    arr2(m)
I used option 25 in SEU to scan one of my libraries for the use of MOVEA.
Every use was a string manipulation in which I may have done differently
starting from scratch in RPGLE.

The other program I found it in was written by someone who refuses to use
/COPY for fear they might have 1 defined variable in which they may not
use, and, by the way, how much respect can you have for code that looks
like:
C     SendTo        IfEq      AllInGroup
C     SendTo        OrEq      SupersOnly
C     EMDCls        AndEq     Supervisor
C     SendTo        OrEq      UsersOnly
C     EMDCls        AndEq     User
C     SendTo        OrEq      JobUser
C     EMDUsr        AndEq     JobUserID

Although they do exceed 6 characters in variable names - I'll give them
that.

Rob Berendt

==================
A smart person learns from their mistakes,
but a wise person learns from OTHER peoples mistakes.


                                                                                
                                       
                    jpcarr@tredegar.c                                           
                                       
                    om                       To:     RPG400-L@midrange.com      
                                       
                    Sent by:                 cc:                                
                                       
                    owner-rpg400-l@mi        Subject:     Re: MOVEA -> EVAL     
                                       
                    drange.com                                                  
                                       
                                                                                
                                       
                                                                                
                                       
                    06/06/01 12:46 PM                                           
                                       
                    Please respond to                                           
                                       
                    RPG400-L                                                    
                                       
                                                                                
                                       
                                                                                
                                       






>But, I'm still waiting for someone to post an example where using MOVEA is
>the best solution :)
>Barbara Morris


    MOVEA  arr1(n)    arr2(m)

I think this best solution so far, versus the other alternatives I have
seen, comes from a very knowledgeable RPG person from Toronto. ;-)

I guess we will next degenerate in to threads concerning what the word
"BEST"  means eh?

Simple easy to read code,  that hides the complexities of the task at hand
so that the meaning of the "application code"  will not be obscured by
coding gymnastics.

Hmmm.  Sounds almost like some of the same reasons for Subprocedures.



John (again ROTF, LMAO)

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---




+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.