HP Pascal/iX Reference Manual (31502-90022)
Table Of Contents
- Top of Document
- Preface
- Chapter 1 Introduction
- Chapter 2 Language Elements
- Chapter 3 Data Types
- Chapter 4 Expressions
- Chapter 5 The Declaration Section
- Chapter 6 Statements
- Chapter 7 Program Structure
- Chapter 8 Procedures and Functions
- Chapter 9 Standard Routines
- Chapter 10 Input and Output
- Chapter 11 System Programming Extensions
- Chapter 12 Compiler Options
![](/manual/hp/mpe-ix-7-5-operating-system/hp-pascalix-reference-manual-31502-90022/images/img-168.png)
10- 12
page
Usage
page
(f)
page
Parameter
f
A textfile variable that must be open. If
f
is omitted, the system
uses the standard file
output
.
Description
The procedure page
(f)
writes a special character to the text file
f
,
which causes the printer to skip to the top of the form when
f
is
printed. The current position in
f
advances, and the buffer variable
f^
is undefined.
Example
page(text_file)
page
position
Usage
position
(f)
Parameter
f
A file variable that must not be a textfile.
Description
The function position
(f)
returns the integer index of the current
component of
f
, starting from 1. Input or output operations references
this component. The parameter
f
must not be a textfile.
Example
i:=position(file_var)
prompt
Usage
prompt
(f)
prompt
(f, e)
prompt
(f, e1, ..., en)
prompt
prompt
(e)
prompt
(e1, ..., en)
Parameters
f
A textfile variable. The system uses the standard file
output
if
f
is omitted.
e
The expression of any simple, string, or PAC type or string literal.
Description
The procedure prompt
(f)
causes the system to write any buffers associated
with textfile f to the device. prompt does not write a line marker on
f
.
The current position is not advanced, and the buffer variable
f^
becomes
undefined.