|
Hi Hans, > (Sorry for posting Python code in an RPG list. But it's easier to > whip up a Python example to illustrate my point. Don't sweat the > details - just think of it as "executable pseudo-code".) I don't mind getting good examples. (If only the RPG manuals were full of them. Not Python, RPG. (*) ;-) But really, it is interesting to see such things in whatever it is along with the explanation of what it does. I don't think anyone can complain about that. So i would not only excuse posting of Python/ruby/whatever snippets of how things are/can be solved in other languages, i feel the urgent desire of seeing things like that! That gives a little glimpse in a very short time by a person, who is able to think and speak in RPG terms. As we all know, these people are *different*. (And somehow people like you, Hans, and all the others that made RPG, made us to what we are! Thanks, by the way! :-) Cheers! :-) (*) As a BASIC and COBOL programmer from school i went to a company which was a 100% RPG shop. In about a month, reading only the IBM S/34 RPG manual several times from cover to cover (making dirty the cycle diagram page :-), and having samples of - from todays view - "not so perfect" quality, i was able to do the job they wanted me to do. With todays official manuals, i doubt that i would be able to do that same thing again. Sure, it's different. Today we have resources like redbooks available on the internet, and so on. The one thing i remember at this very moment of a rather good example of working code in the manual is the weekday function. -- best regards, Anton Gombkötö http://www.avenum.com http://www.common.at
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.