|
Eric, I think your suggestion would be vastly superior to D spec klists. I would suggest that this be supported by adding a support for variable type parameters to the options keyword as options(*vartype). Next I would want the parameter attributes to be made available to the called procedure. That way this week you could code your ChainX() and next week you could code your GetDataAreaEntry() function. You can pass a variable number of parameters using options(*omit and/or *nopass), ceetsta, and %parms. As far as D spec klists, it is very low on the list, I would like to see effort directed toward enabling new function, rather than simply changing an available function. David Morris >>> "Eric N. Wilson" <doulos1@home.com> 06/14/99 01:43PM >>> 1) What are the top three things that bug you about programming > compound keys in RPG? One why do we even have to define the KLists. The information is contained in the file header so why can't the RPG compiler get that info and make sure that the supplied fields are of the right type and length. For example Let's assume a file with 3 keys creatively called Key1 Key2 and Key3, Also there are 3 data fields that are defined like the corresponding key. Finally the file is called file :-) This is what I would like to see for calc specs Eval ChainX(File : Data1) Eval ChainX(File : Data1 : Data2) Eval ChainX(File : Data1 : Data2 : Data3) and so on. Also on my wish list is variable number of parameters to a function as I illustraited above. ... I am sure I could think of a few thousand more things but this is probibly enough to spark some neat discussion. ______________________________________________ Eric N. Wilson President Doulos Software & Computer Services 2913 N Alder St Tacoma WA 98407 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. Questions should * * be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
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.