|
I though I'm supposed to be able to ignore return value. I know if a
procedure return indicator, compiler would okay it if I do callp. See
below, it compiled fine.
D VT100Test pr n
C callp VT100Test()
C eval *inlr = *on
*===============================================================
* Test
*===============================================================
P VT100Test B
D pi n
C return *on
P VT100Test E
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Young
Sent: Friday, March 17, 2006 1:55 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Getting compile error: *RNF5343 30 21 002100 Array has too
manyomitted indexes; specification is ignored.
Lim,
VT100FormatScreenData returns an array of 24 elements.
You want to code it as
D My_VT100FormatScreenData ...
D S 80 Dim(24)
My_VT100FormatScreenData = VT100FormatScreenData(myRecvData);
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.