Hi all,
My questions probably sound too primitive, but I am relatively new to Progress and I found some problems while deveoping 4GL code for it.
Generally speaking, I am creating a dump file from a Progress table with pipe-separated columns.
Here is what I am doing:
for each prospect:
display
prosp_id "|"
name "|"
address "|"
city + state "|"
zip
skip.
end
But the result does not look as I expected.
First, how to eliminate trailing spaces between data and pipe-sign ?
And second, as you can see from my code snippet, I am concatenating two fields. Unfortunately, Progress displays only first 8 characters. So how to code it to display it all ?
Note: same thing occurs if I replace DISPLAY with PUT statement.
Thanks
My questions probably sound too primitive, but I am relatively new to Progress and I found some problems while deveoping 4GL code for it.
Generally speaking, I am creating a dump file from a Progress table with pipe-separated columns.
Here is what I am doing:
for each prospect:
display
prosp_id "|"
name "|"
address "|"
city + state "|"
zip
skip.
end
But the result does not look as I expected.
First, how to eliminate trailing spaces between data and pipe-sign ?
And second, as you can see from my code snippet, I am concatenating two fields. Unfortunately, Progress displays only first 8 characters. So how to code it to display it all ?
Note: same thing occurs if I replace DISPLAY with PUT statement.
Thanks