‎2006 Jun 27 3:02 PM
Hello,
Say for example I would like to print the following line on the report:
title:0
where 0 is passed in as a variable var type i
However, if I do
write: 'title:', var.
I ended up getting something like
title: 0
How can I remove the space before the 0, thank a lot!
Regards,
Anyi
‎2006 Jun 27 3:08 PM
Hi
DATA: VAR TYPE I.
WRITE: 'title:' NO-GAP, VAR LEFT-JUSTIFiED NO-GAP.
Max
‎2006 Jun 27 3:08 PM
‎2006 Jun 27 3:08 PM
data: thestring(40).
data: str_i(5).
data: var type i.
str_i = var.
concatenate 'title:' str_i into thestring.
condense TheString no-gaps.
write:/ TheString.
‎2006 Jun 27 3:08 PM
Hi
DATA: VAR TYPE I.
WRITE: 'title:' NO-GAP, VAR LEFT-JUSTIFiED NO-GAP.
Max
‎2006 Jun 27 3:08 PM
‎2006 Jun 27 3:09 PM
‎2006 Jun 27 3:11 PM
‎2006 Jun 27 3:12 PM
Hi Anyi,
Try using NO-GAPS, like this:
WRITE: 'A' NO-GAP, 'B' NO-GAP, 'C'. "Output: ABC
regards,
Alejandro