|
Is there any way to specify a variable as the picture clause of a
declared variable?
IE:
declare Q1 pic x(4).
Q1=0
begin
Q1=Q1+1
declare y pic x(Q1)
end
We've tried quoting Q1 [''Q1'] but it appears that DTR doesn't like
that. And it definitely didn't want to invoke a command procedure
from inside the begin/end loop.
If this won't work, will anything? We're trying to declare a var-
iable using 70-character increments, and then every time through
the loop step the length up another 70 characters and append a new
string to the end using a concatenation character ... ||.
Or, maybe more simply, how does one assign a series of paragraphs
to a variable name and keep the paragraph format upon output of
same?
IE [again]:
The quick brown fox jumped over the lazy dog. Why he did this I
have no idea, but then again, who cares? Does he need a reason?
The dog laid there and watched him jump over. Why should I care
what he does? I'm comfortable, and he's doing all the work.
Assign the above paragraph to a variable with a T(80) edit_string
and then try to reproduce it ... it seems that DTR won't preserve
the gap between paragraphs.
Thanks for any info.
|