|
On Tue, 15 Jan 2013 10:24:36, Stuart Rowe wrote:
Luis, while syntactically valid, that code would not set on any
indicators. You'd need to base that IndArray on the actual indicator
array's address.
This alternative would work:
%subarr( *IN: 30: 3) = *on;
Stu
This is the sort of thing I was looking for. Just couldn't imagine how to
map the program indicators to the BIF. Appreciate the discussion from you,
Luis, et. al.
However, in the code I'm dealing with, it needs to be function in this
manner:
%subarr(*in:30:3) = '010';
Which the compiler -still- does not like (I apologize for the previous
overly-simplistic example). Unfortunately, when trying to navigate to Jon's
article, Chrome crashes with a Reader Subscription error!!!
BTW, let's say that such use of indicator(s) processing is mainly to - keep
the peace!
"Small steps, Elle. Small steps." Contact
Buzz
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.