× 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 do gobbledygook, sometimes there is a need.

Duane Scott <dscott@xxxxxxxxxxx> 6/7/2019 10:18 AM >>>
I don't think you supplied enough information about what you are attempting for me to be able to determine the viability of what you are seeking.

How's that for gobbledygook?

Duane

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Buddy McClean
Sent: Friday, June 7, 2019 11:11 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: Field Names

I was trying to avoid the compare/selects, hoping I was just missing something in a simple statement or 2.

Duane Scott <dscott@xxxxxxxxxxx> 6/7/2019 9:57 AM >>>
Would something like this work:


Select;
When Field1 = 'FIELD2';
<do something with FIELD2>
When Field2 = 'FIELD3';
<do something with FIELD3>;
Other;
<do entirely something else >;
Endsl;


Duane

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.