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




Thanks Matt,
Based on your feedback we will be updating the list of control flow
op-codes and make sure that on-error is included among others.
Specifically
BEGSR ENDFOR ITER
CALLP ENDIF LEAVE
DCL-PROC ENDMON LEAVESR
DO ENDSL MONITOR
DOU ENDSR ON-ERROR
DOW END-PROC OTHER
ELSE EXSR RETURN
ELSEIF FOR SELECT
ENDCS IF WHEN
ENDDO
Some may be arguable but we have to draw the line somewhere.


Regards,



Edmund (E.H.) Reinhardt
COBOL IDE on AIX, DDS, WebFacing, System i Application Development,
Rational Developer for Power



2D barcode Phone: 1-905-413-3125 | Phone: 1-905-854-6195 IBM
- encoded E-mail: edmund.reinhardt@xxxxxxxxxx
with AIX COBOL: 8200 Warden Ave
contact www.youtube.com/user/IBMRational#g/c/62DF24D5BCD43501 Markham, ON L6G 1C7
information "In every thing give thanks: for this is the will of Canada
God in Christ Jesus concerning you." - 1
Thessalonians 5:18






From: Matt Lavinder <mlavinder@xxxxxxxxxxxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>,
Date: 19/12/2013 03:02 PM
Subject: Re: [WDSCI-L] Color Coding inconsistencies
Sent by: wdsci-l-bounces@xxxxxxxxxxxx



I have to admit, I like the color scheme too.

I think it has to do something with op-codes that mark blocks of
callable/sectioned code vs. op-codes that control flow. So, while
"monitor" controls the program and tells it to watch for an error,
"on-error" marks a block of code that will run conditionally.
Subroutines are the same thing. It marks a block of code that are only
ran conditionally (in other words, when called). In both cases the
op-codes themselves really do not "control" logic but mark/tag area
blocks that may or may not be called.

I think that's how they did it, but I agree on-error being a different
color from monitor seems odd, but I guess they are treating it like a
"label". Honestly, I think it could have gone either way.


First let me state, I'm really liking the color coding enhancement to
RPG. Dare I say, love.

That said, I feel that there are either inconsistencies, or I'm
misunderstanding some of the coloring.

On-Error is red, but I think it should be purple. Purple seems to be for
opcodes related to program logic control. That said, I do like that BegSr
& EndSr (which I'd lump in that category) are red.

-Kurt


--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-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.