Pascal_Language_Reference_Manual_Sep83.pdf

(5512 KB) Pobierz
Language Manual for UniPlus •
Pascal
.-.--:...
.-
a
__
_a.
_
____________
__
_.
------
--
.
_.
_
..
_.
.
_.
..
_.
_
----
.......
_
=
a
_.
_
-----.
.
-
~
----..
_.
_ . . . .
~-----
...-------.
""T"
-
s
~
I
=
~
=.
~
Y
S
T
EMS
_.-
--
-
_.-
=
...........
=
_L-L
~
_
I
!!!
~
739 Allston Way. Berkeley. CA 94710
(415) 644-1230. TWX" 910 366-2145
UUCP ucbvaxlunisoftlunisoft
Pascal
Language Reference Manual
Version 2.0, 1st September 1983
PN: 1020-04
UlliSol1
S
Y
S
T
EMS
This
Pascal
Reference Manual was produced by:
J.
Barth, R.S. Glanville, H. McGilton and M.A. Finnerty.
UniSoft Part Number: 1020-04
Copyright
©
1983 by Silicon Valley Software, Inc.
Copyright
©
1984 by U niSoft Systems.
All rights reserved. No part of this
Pascal
Reference Manual may be
reproduced, translated, transcribed or transmitted in any form or by any means
manual, electronic, electro-magnetic, chemical or optical without explicit
written permission from Silicon Valley Software, Inc., or UniSoft Systems.
CONTENTS
Preface
Chapter 1 - Introduction . . . . .
2.1 Overview of the Pascal Language
2.2 Metalanguage . . . . . •
2.3 Elementary Lexical Constructs
Chapter 2 - Defining Data Types
2.1 Defining Constants
2.2 Standard Types
. . . .
2.3 Defining Data Types.
2.4 Simple Types . . . .
2.5 Structured Types . .
2.6 Pointer Types . . . .
2.7
Type Identity and Assignment Compatibility
Chapter 3 - Variables . . .
3.1 Declaring Variables . .
3.2 Predeclared Variables
3.3 Establishing Variables
3.4 Lifetimes of Variables
3.5 Referencing or Accessing Variables .
Chapter 4 - Expressions . . . .
4.1 Operators in Expressions • . . .
4.2 Address Evaluation Operator
4.3 NOT Operator. . .
4.4 Multiplying Operators
4.5 Adding Operators. . .
4.6 Sign Operators. . .
4.7 Relational Operators. .
4.8 Out of Range Values
4.9 Order of Evaluation in Expressions
4.1 0 Compile Time Constant Expressions
Chapter 5 - Statements
.
5.1 Statement Labels • . . . .
5.2 Assignment Statements. . .
5.3 Procedure Reference Statement
5.4 Structured Statements
5.5 The WITH Statement
5.6 The GOTO Statement
. . .
. .
.
• •
4
4
8
8
12
12
13
15
15
16
22
23
25
25
26
26
26
27
31
32
32
32
32
34
34
35
37
38
38
40
40
40
41
42
46
47
49
49
52
Chapter 6 - Input and Output
6.1 General File Handling Procedures
6.2 Text File Handling Procedures
6.3 Block Input Output Intrinsics .
-i-
59
Zgłoś jeśli naruszono regulamin