by Robert Sample » Fri Jun 18, 2010 11:03 pm
In this case you give, it doesn't matter whether AAA is character zero or number zero -- they are treated exactly the same. In fact, you can move AAA to a PIC 9 variable and use it for arithmetic if desired. Technically, AAA is an alphanumeric variable, not a numeric variable, so things like MOVE statements will work differently, depending on the receiving variable, but a variable BBB PIC 9 VALUE ZERO looks exactly the same in a dump -- hexadecimal F0.