|
Elvis Budimlic wrote:
I don't code in RPG so I'm not sure if it has a built-in to convert to hex. C has some (sprintf)...
Minor note (and question for the list)... I haven't actually tried it, but is there any technical reason sprintf() couldn't also be used in ILE RPG?
I mean, I'd expect unfamiliarity would cause initial confusion at least. But I'd also expect it to work assuming the argument-list was properly prototyped and handled. IIRC, it was covered (by Scott probably) on one of these lists some time back.
Tom Liotta
This mailing list archive is Copyright 1997-2026 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.