Difference between revisions of "SET PAGELENGTH"

From Recital Documentation Wiki
Jump to: navigation, search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET PAGELENGTH=
 
 
 
==Class==
 
Printing
 
 
 
 
==Purpose==
 
==Purpose==
 
Governs pagination in output files
 
Governs pagination in output files
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[BROWSE]], [[DISPLAY]], [[LIST]], [[REPORT]], [[TYPE]], [[SET DESCRIPTION]], [[SET HEADING]], [[SET PAGEWIDTH]]
+
[[BROWSE]], [[DISPLAY]], [[LIST]], [[REPORT]], [[SET DESCRIPTIONS]], [[SET HEADING]], [[SET PAGEWIDTH]], [[TYPE]]
  
  
 
==Description==
 
==Description==
The SET PAGELENGTH TO <expN> command sets the length of pagination in an output file created from one of the DISPLAY | LIST...TO FILE or TYPE FILE commands.  When used in conjunction with the LIST | DISPLAY ... TO FILE, SET DESCRIPTION, SET PAGEWIDTH and SET HEADING TO commands, this provides the ability to produce quick reports.
+
The SET PAGELENGTH TO <expN> command sets the length of pagination in an output file created from one of the DISPLAY | LIST...TO FILE or TYPE FILE commands.  When used in conjunction with the LIST | DISPLAY ... TO FILE, SET DESCRIPTIONS, SET PAGEWIDTH and SET HEADING commands, this provides the ability to produce quick reports.
  
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set pagelength to 60
 
set pagelength to 60
 
set heading to single
 
set heading to single
 
use demo
 
use demo
 
list fields acc_prefix, acc_no, ord_value, name;
 
list fields acc_prefix, acc_no, ord_value, name;
to file accounts.txt;
+
  to file accounts.txt;
for ord_date =("01/01/00")</pre>
+
  for ord_date =("01/02/2009")
 +
</code>
  
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|PAGELENGTH]]
 
[[Category:Set_Commands|PAGELENGTH]]
 +
[[Category:Printing]]
 +
[[Category:Printing Set Commands]]

Latest revision as of 16:33, 23 November 2009

Purpose

Governs pagination in output files


Syntax

SET PAGELENGTH TO <expN>


See Also

BROWSE, DISPLAY, LIST, REPORT, SET DESCRIPTIONS, SET HEADING, SET PAGEWIDTH, TYPE


Description

The SET PAGELENGTH TO <expN> command sets the length of pagination in an output file created from one of the DISPLAY | LIST...TO FILE or TYPE FILE commands. When used in conjunction with the LIST | DISPLAY ... TO FILE, SET DESCRIPTIONS, SET PAGEWIDTH and SET HEADING commands, this provides the ability to produce quick reports.


Example

set pagelength to 60
set heading to single
use demo
list fields acc_prefix, acc_no, ord_value, name;
  to file accounts.txt;
  for ord_date =("01/02/2009")


Products

Recital Server, Recital