Re: Use GDDM in C on OS/400

Jon Paris <[email protected]> Mon, 24 Jul 2023 18:31:07 -0400
Newsgroups gmane.comp.lang.as400.c
Message-ID <[email protected]>
The RPG III compilers would not convert float.  You can't convert what you can't define <grin>

I don't believe any GDDM parms were floats - I'd have come across it when checking that the COBOL compiler worked with the APIs.  Mainfgram version maybe?


Jon P.

> On Jul 24, 2023, at 4:49 PM, <rob-VGj5NKMg/[email protected]> <rob-VGj5NKMg/[email protected]> wrote:
> 
> Jon,
> By prototypes in RPG III I was meaning PLISTs and associated field
> definitions.
> EG: from memory there are some GDDM parameters that are defined as floating
> point, which of course is not available in RPG III, so the compiler would
> convert for you. 
> - not relevant for Patrick and his project, unless he uses an RPG III
> example, in which case he should follow the doco.
> 
> -----Original Message-----
> From: C400-L <[email protected]> On Behalf Of Jon Paris
> Sent: Tuesday, 25 July 2023 1:17 AM
> To: Bare Metal Programming IBM i (AS/400 and iSeries)
> <[email protected]>
> Subject: Re: [C400-L] Use GDDM in C on OS/400
> 
> Prototypes were added to RPG IV with the V3R2/V3R6 releases when we added
> subprocedures.  They were not part of the initial release of the language.
> 
> 
> They were certainly never part of RPG/400 (RPG III).
> 
> 
> Jon P.
> 
>> On Jul 24, 2023, at 8:55 AM, Patrik Schindler <[email protected]> wrote:
>> 
>> <snip>
>> 
>>> Not surprisingly, I couldn't find any prototypes for RPG III nor RPG-ILE,
> so I don't like your chances, sorry.
>> 
>> Was prototyping even a thing with RPG III? I thought that came with ILE as
> a necessity for predefined ("bound") calls?
>> 
>> Thanks for looking out!
>> 
>> :wq! PoC
>> 
>> 
>> 
>> --
>> This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) 
>> mailing list To post a message email: [email protected] To 
>> subscribe, unsubscribe, or change list options,
>> visit: https://lists.midrange.com/mailman/listinfo/c400-l
>> or email: [email protected] Before posting, please 
>> take a moment to review the archives at 
>> https://archive.midrange.com/c400-l.
> 
> --
> This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L)
> mailing list To post a message email: [email protected] To
> subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/c400-l
> or email: [email protected] Before posting, please take a
> moment to review the archives at https://archive.midrange.com/c400-l.
> 
> -- 
> This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
> To post a message email: [email protected]
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/c400-l
> or email: [email protected]
> Before posting, please take a moment to review the archives
> at https://archive.midrange.com/c400-l.

-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.