|
Justin,
This proposed feature might work okay in any interpreted language like AWK, PHP, Python, PERL, or Javascript, etc., but would be difficult to impossible to implement this in compiled languages like ILE RPG IV, or ILE COBOL or ILE C/C++ or ILE CL.
To do so would require that the runtime routines, (e.g. "printf" in the example), would need to be able to access the symbol table of the compiled program. The symbol table is normally only available at "compile time" unless you compile with "debug" enabled. To access the debug symbol table would require running the program "in debug mode." :-/
I think it would require a huge effort to implement this, for relatively little real benefit.
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.