×
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 9/9/2017 7:08 AM, Birgitta Hauser wrote:
<snip>On the iSeries side of the fence $ # @ are valid characters
to use
in names... </snip>
Which is not quite true.
It depends on the code page, for example on a German IBM I you cannot use
the @ sign in an Name. Instead we can use the § sign.
Yes, this is very important. While most valid RPG source code
characters stay the same from code page to code page, several (the $, #
and @ mentioned above) do not. We called them invariant and variant
characters, respectively. As another example, $ changed to £ (pound
sign) on an AZERTY keyboard. As our global presence expanded, we found
it very difficult to maintain code with variant characters.
Back in the 80s we did a project to remove all those variant characters
from the BPCS source code. Note that this pertains to work field names
in programs as well as database fields. SSA made extensive use of $ and
# in particular, and we had to remove all of them. The going-in
position was just to remove them, and then deal with any duplicates
(FLD$A1 and FLD#A1 would both end up as FLDA1). We then had another
project to clean up any accidentally obscene field names, but that's a
different story.
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.