× 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: "Peter Dow" <pcdow@xxxxxxxxx>
  • Date: Tue, 5 Jun 2001 15:47:26 -0700

Hi Barbara,

You're right, it's hard to think of a reason to use MOVEA these days, what
with all the nifty string handling stuff. Hmm. As I recall, some of the
things I once wanted to do with it I couldn't do anyway because it doesn't
allow

    MOVEA    arr1(m)    arr1(m + 1)

which could've been useful in shifting array entries down to leave an open
entry for insertion, or populating an array with some constant value (now we
have *ALL'x'). To do the above required something like

    MOVEA    arr1(m)    fld1
    MOVEA    fld1       arr1(m + 1)

The most interesting thing about MOVEA (to me) was the ability to go from an
array to a field and back. If you have fixed positions you could obviously
do this with overlaid data structure subfields, but MOVEA allowed it to be
variable. But it's been a long time since I felt the need to use it, and I
don't really remember specifics. (Usually when I say something like that I
have to use it the very next day<g>).

Regards,
Peter Dow
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax

From: <bmorris@ca.ibm.com>
> I suppose so.  Can you (or anyone) think of a reason to use MOVEA?
>

> +---
> | 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
> +---


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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 ...

Replies:

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.