Re: PAGE LENGTH as variable size
Iwan AB <[email protected]> Mon, 12 May 2025 21:55:17 +0700
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAHJCSmJaCyJvLv=zaCnFHX+LzW6zXb9Dg6n4FcsHGJfyD1zZQg@mail.gmail.com> |
--===============8093316754605539372== Content-Type: multipart/alternative; boundary="000000000000c1ede40634f18152" --000000000000c1ede40634f18152 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ok, work perfectly, thank you. On Mon, May 12, 2025 at 8:35=E2=80=AFPM Mike Aubury <[email protected]> wrote: > 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=3D10 > > start report r1 to "r1.txt" with page length plength > for a=3D1 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 "=3D", 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 >> > --000000000000c1ede40634f18152 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Ok, work perfectly, thank you.</div><br><div class=3D"gmai= l_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon= , May 12, 2025 at 8:35=E2=80=AFPM Mike Aubury <<a href=3D"mailto:mike@au= bit.com">[email protected]</a>> wrote:<br></div><blockquote 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">I don't think you can do it fro= m within the report OUTPUT section (although - I dont=C2=A0think it would b= e hard to add.)<br><br>But - I think=C2=A0you can already do it on the STAR= T REPORT<br><br><br>main<br>define a integer<br>define plength integer<br>l= et plength=3D10<br><br>start report r1 to "r1.txt" with page leng= th 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 "=3D"= ;, b<br>end report<br><br></div><br><div class=3D"gmail_quote"><div dir=3D"= ltr" class=3D"gmail_attr">On Mon, 12 May 2025 at 14:26, Iwan AB <<a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>> wro= te:<br></div><blockquote 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, <br><br>is it possible to set PAGE LENGTH in REPORT OUTPUT = Section as a variable 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> </blockquote></div> --000000000000c1ede40634f18152-- --===============8093316754605539372== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============8093316754605539372== 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 --===============8093316754605539372==--