|
I have an interesting question. (very new dev here) Let's say my
display file has a output field named Qty. In fixed format, the
program declares a standalone variable Qty and sets the message. The
display file shows the message when I run the program.
P GetHazmat B
D Qty S 40 Inz('G = Gallon, GP = 5 Gallon Pail')
However, if I try to do the same in free format, the message will
not display. I assume because the Qty variable is being created
again? But then why does it work fixed format? I know to solve the
issue is just to not declare it again as a standalone in free
format, but that doesn't solve my curiosity. Does anyone have some
clarification?
Dcl-proc GetHazmat;
Dcl-S Qty Char(40) Inz('G = Gallon, GP = 5 Gallon Pail');
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.