|
I think the real issue here is that WDSc is only trying to provide a tool
to help convert fixed-format code to free-form. I don't think anyone has
ever tried to advertise it as a magic wand.
I agree that the original fixed-format code works, but is it really a good
programming style? Using the same indicator for multiple purposes makes
different conditions indistinguishable.
Michael Quigley
AS/400 Programming Coordinator
The Way International
www.TheWay.org
Original message:
------------------------------
date: Wed, 23 Mar 2005 12:10:46 -0800
from: Reeve <rfritchman@xxxxxxxxx>
subject: Re: [WDSCI-L] Error in WDSC conversion to /FREE?
The problem is that the code created by the conversion utility doesn't
work like the fixed-format code. In fixed-format RPG, having the same
indicator in both positions "works". I think this is a WDSCi problem
and not an RPG problem.
-reeve
On Wed, 23 Mar 2005 14:45:35 -0500, Wilt, Charles <CWilt@xxxxxxxxxxxx>
wrote:
> Not really, it just took a minute...see my second post. ;-)
>
> Looking at this, I have to wonder how the original code would work.
>
> Is there any documentation on how RPG handles having the same indicator
used for ERROR and EOF on the READC or any other op-code?
. . .
. . . . . .
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.