Hello all!
The following code snippet does not work. The intent is to skip each
address line that is null. Suggestions on how to do this are appreciated or
where to look.
TIA
James E. Dupree
PEG # 1999041502
<BLOCKQUOTE><font size="1" face="Arial, Verdana">code:</font><HR><pre>
DISPLAY
"Warehouse:" at 14 whse.whse skip
whse.name at 25 skip
whse.addr[1] at 25 when whse.addr[1] > ""
whse.addr[2] at 25 when whse.addr[2] > ""
whse.addr[3] at 25 when whse.addr[3] > ""
whse.addr[4] at 25 when whse.addr[4] > ""
whse.city at 25 space(5) whse.state space(5) whse.zip skip
WITH STREAM-IO NO-LABELS PAGE-TOP WIDTH 132 NO-BOX FRAME F-132f.
[/code]
The following code snippet does not work. The intent is to skip each
address line that is null. Suggestions on how to do this are appreciated or
where to look.
TIA
James E. Dupree
PEG # 1999041502
<BLOCKQUOTE><font size="1" face="Arial, Verdana">code:</font><HR><pre>
DISPLAY
"Warehouse:" at 14 whse.whse skip
whse.name at 25 skip
whse.addr[1] at 25 when whse.addr[1] > ""
whse.addr[2] at 25 when whse.addr[2] > ""
whse.addr[3] at 25 when whse.addr[3] > ""
whse.addr[4] at 25 when whse.addr[4] > ""
whse.city at 25 space(5) whse.state space(5) whse.zip skip
WITH STREAM-IO NO-LABELS PAGE-TOP WIDTH 132 NO-BOX FRAME F-132f.
[/code]