|
Maybe none of your code will ever been needed for a VA RPG application, and maybe any VA RPG programmer who reads your recommendation will know that x'7D' isn't correct, and maybe your code will never need to be ported to a non-EBCDIC environment. But maybe it will; you might as well avoid using techniques that are known to be non-portable, especially when a completely portable mechanism exists.Eh, I don't feel strongly either way about it - personally, I find using a constant to specify a quote is a little bit of overkill. Yes, there are places where it might make things more readable. But there are also places when it just makes things long. And then you have to deal with the inevitable cute short names like QT, QU or even worse, $Q (I always get a kick out of people who use an variant character in a name meant to provide an invariant solution).
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.