Re: PAGE LENGTH as variable size

Mike Aubury <[email protected]> Mon, 12 May 2025 14:35:30 +0100
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAGAq4WFuRzUbufgbXibrJHw_x-ATQoT7G7G5hy54c5BGfvcwvA@mail.gmail.com>
--===============7062660904297584230==
Content-Type: multipart/alternative; boundary="0000000000006616da0634f06454"

--0000000000006616da0634f06454
Content-Type: text/plain; charset="UTF-8"

I don't think you can do it from within the report OUTPUT section (although
- I dont think it would be hard to add.)

But - I think you can already do it on the START REPORT


main
define a integer
define plength integer
let plength=10

start report r1 to "r1.txt" with page length plength
for a=1 to 20
output to report r1 (a)
end for
end main

report r1(b)
define b integer
output
        page length 20
format
on every row
print "=", b
end report


On Mon, 12 May 2025 at 14:26, Iwan AB <[email protected]> wrote:

> Dear Mike,
>
> is it possible to set PAGE LENGTH in REPORT OUTPUT Section as a variable
> instead of literal integer size?
>
> Best regards,
>
> Iwan
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>

--0000000000006616da0634f06454
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I don&#39;t think you can do it from within the report OUT=
PUT section (although - I dont=C2=A0think it would be hard to add.)<br><br>=
But - I think=C2=A0you can already do it on the START REPORT<br><br><br>mai=
n<br>define a integer<br>define plength integer<br>let plength=3D10<br><br>=
start report r1 to &quot;r1.txt&quot; with page length plength<br>for a=3D1=
 to 20<br>output to report r1 (a)<br>end for<br>end main<br><br>report r1(b=
)<br>define b integer<br>output<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 page length =
20<br>format<br>on every row<br>print &quot;=3D&quot;, b<br>end report<br><=
br></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"l=
tr" class=3D"gmail_attr">On Mon, 12 May 2025 at 14:26, Iwan AB &lt;<a href=
=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Dear Mike, <b=
r><br>is it possible to set PAGE LENGTH in REPORT OUTPUT Section as a varia=
ble instead of literal integer size?<br><br>Best regards,<br><br>Iwan=C2=A0=
</div>
_______________________________________________<br>
Aubit4gl-discuss mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss" r=
el=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/lis=
tinfo/aubit4gl-discuss</a><br>
</blockquote></div>

--0000000000006616da0634f06454--


--===============7062660904297584230==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============7062660904297584230==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss

--===============7062660904297584230==--