× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Steve,

I completely agree with you. But collections is not what IBM gave us. I
wonder if IBM even thinks about collections. All they gave us is
'syntactical sugar' (what a nice term). Why did they not give us real
sugar but 'diet sugar'.

Thomas.


rpg400-l-bounces@xxxxxxxxxxxx schrieb am 08.10.2013 14:08:08:

Von: stephenrichter@xxxxxxxxx
An: rpg400-l@xxxxxxxxxxxx,
Datum: 08.10.2013 14:08
Betreff: Re: Free format H, F, D and P specs
Gesendet von: rpg400-l-bounces@xxxxxxxxxxxx

On Tue, Oct 8, 2013 at 2:39 AM, <thomas.raddatz@xxxxxx> wrote:

For example from the day when IBM introduced procedures with V3, I
wonder why we have to use P specs to start/end a procedure and D specs
for
the procedure interface. Using only P specs whould have been a lot
easier
and clearer (at least for me):

Braces and combining the P and D specs would be nice. But it is just
syntactical sugar ( a term Anders Hejlsberg uses ). Consider that a code
editor could easily put those elements in the language. Or a pre
compiler.
I can argue that IBM should focus on improving the pre compiler, making
it
easier to integrate with the debugger. Once that is done then anyone
could
produce their own version of RPG that had braces and a simpler procedure
declaration.

What is really needed in the language is references, reference counting
and
garbage collection. Once you have that then you can have the various
types
of collections that you see in .NET ( when variables are addressed by
reference they can be placed in collections without having to copy their
contents. ) Once you have full featured collections like dynamic
arrays,
linked lists, etc you can move on to morphing a collection into a
database
and vice versa. Where you order by a collection the same way you order
by a
table, or join a table to a collection.

-Steve
--
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.



--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.