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




On Sep 3, 2011, at 1:00 PM, midrange-l-request@xxxxxxxxxxxx wrote:

I don't see why a language cannot support both dynamic and static
typing. in effect, the RPG SQL pre compiler does that with the dynamic
sql that is embedded into the RPG code.

That isn't really what happens if you think about it Steve.

The SQL portion is only dynamic in the sense that the statement can be dynamically built etc. but in order to do anything with the data retrieved within the RPG context you have to associate named pre-defined host variable fields with the results of the queries.

There are languages - PHP for one - on the IBM i that are dynamically typed, why not use those. Of course it is possible to have the RPG compiler modified to handle dynamic typing as well as static but it isn't going to happen in any meaningful timeframe that I can see.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.