Pascal_80_Users_Guide_1980.pdf
(
1557 KB
)
Pobierz
•
•
PASCAL·SO
USER'S GUIDE
•
•
•
•
Manual Order Number: 9801015-02
Intel Corporation has carefully reviewed this Vendor Supplied Product for its suitability and
operational characteristics when used with Intel products and believes that the product will
operate and perform according to its published user manuals. HOWEVER, INTEL MAKES NO
WARRANTIES WITH RESPECT TO THE OPERATIOI\J AND USE OF THIS VENDOR SUPPLIED
PRODUCT. Successful use depends solely on customer's ability to install and use this
product.
This Vendor Supplied Product is licensed on an "as is" basis and Intel Corporation does not
guarantee any future enhancements or extensions to this product. The existence of this
product does not imply its adaptation in any form as an Intel standard nor its compatibility with
any other Intel product except as specifically stated in the published user manuals.
Intel will provide limited telephone assistance to the customer in the understanding of the
operation of the product.
In addition, if a problem is encountered which the user diagnosis indicates is caused by a
defect in this Vendor Supplied Product, the user is requested to fill out a Problem Report form
and mail it to:
Intel Corporation
MCSD, Marketing
3065 Bowers Avenue
Santa Clara, CA 95051
Intel will use its best efforts to respond to Problem Reports in one of the following ways: 1)
Release information to correct the problem, 2) Offer a new revision, when available, with
corrected code to fix the problem, or 3) Issue a notice of availability of a new revision with
corrected code.
•
1...-_ _ _ _ _ _ _ _
-1
1
Copyright
©
1979, 1980 Intel Corporation
Intel Corporation, 3065 Bowers Avenue, Santa Clara, California 95051
11...-_ _ _ _ _ _ _ _
...1
•
•
.
•
Additional copies of this manual or other Intel literature may be obtained from:
Literature Department
Intel Corporation
3065 Bowers Avenue
Santa Clara, CA 95051
The information in this document is subject to change without notice.
Intel Corporation makes no warranty of any kind with regard to this material, including, but not limited
to, the implied warranties of merchantability and fitness for a particular purpose. Intel Corporation
assumes no responsibility for any errors that may appear in this document. Intel Corporation makes no
commitment to update nor to keep current the information contained in this document.
Intel Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in
an Intel product. No other circuit patent licenses are implied.
Intel software products are copyrighted by and shall remain the property of Intel Corporation. Use,
duplication or disclosure is subject to restrictions stated in Intel's software license, or as defined in ASPR
7-104.9(a)(9).
No part of this document may be copied or reproduced in any form or by any means without the prior
written consent of Intel Corporation.
The following are trademarks of Intel Corporation and may be used only to identify Intel products:
BXP
CREDIT
i
ICE
iCS
Intellec
iSBC
iSBX
Library Manager
MCS
Megachassis
Multibus
•
•
•
Multirnodule
PROMPT
Promware
RMX
UPI
~Scope
lnsite
Intel
Micromap
Intelevision
and the combination of ICE, iCS, iSBC, iSBX, MCS, or RMX and a numerical suffix.
ii
I
AZ35/780/5K/FL
I
•
•
•
"version number" . "release number within version"
PREFACE
This manual describes the PASCAL-SO language for programming the SO SO and
SOS5 microcomputers. PASCAL-SO is based on the Pascal language invented in 1970
by Professor Niklaus Wirth of Zurich, and incorporates extensions designed to take
advantage of both the microcomputer features of the SO SO and SOS5, and the system
features of ISIS-II.
Each release of PASCAL-SO is characterized by a two-digit code in the form of:
Manual Organization
•
•
•
.
The PASCAL-SO language is a superset of the Pascal programming language, as
defined in
PASCAL User Manual and Report,
Second Edition, by Kathleen] ensen
and Niklaus Wirth (Springer-Verlag, 1974, Corrected Printing, 1975). This book
defines "Standard Pascal" and will be referred to in the remainder of this manual as
PASCAL User Manual. Since PASCAL User Manual is a concise reference for the
features of Standard Pascal, the programming language PASCAL-SO will be
described only by its differences from, and extensions to, Standard Pascal, the
assumption being that the reader is familiar with the contents of PASCAL User
Manual, and moderately conversant with Standard Pascal.
Chapters 1 through 3 describe the features of the PASCAL-80 language, and
Chapter 4 describes how to operate the PASCAL-SO System.
Chapter 5 presents example programs illustrating the features of PASCAL-SO. The
appendices supply reference information for all aspects of program generation,
compilation, and execution.
Audience
This manual is intended for programmers who are familiar with PASCAL. It con-
tains the following chapters and appendices:
"Chapter
1.
Introduction," which gives a general description of the PASCAL-SO
system.
"Chapter 2. Language Features," which describes the data types, control con-
structs, and procedure and function declarations.
"Chapter 3. Predeclared Procedures," which describes the predeclared procedures
and functions in PASCAL-80.
"Chapter 4. Operating Instructions," which describes how to generate, compile,
and execute a PASCAL-SO program .
"Chapter 5. Example Programs," which presents four PASCAL-SO programs,
complete with compiler listing and output.
.
•
l
"Chapter 6. Separate Compilation, Program Linkage, Relocation, and Execution,"
which gives general instructions for partitioning a Pascal program into separate
compilation units, for linking to external non-Pascal object modules and for
creating Load and Go versions of Pascal programs.
iii
"Chapter 7. Preparing Programs to Run Under
RMX/SO,"
which gives information
applicable to running Pascal programs in the
RMX/SO
environment.
"Chapter S. Run-Time Error Procedures," which gives instructions for declaring
and using user-defined error procedures.
"Appendix A. Summary of Operations," which presents, in tabular form, the
allowable operations among data types.
"Appendix
B.
PASCAL-SO Vocabulary," which contains all of the operators and
reserved words in the PASCAL-SO programming language.
"Appendix
C.
Summary of Compiler Directives," which describes the directives for
the compiler.
"Appendix D. Compiler Error Messages," which lists all errors that can be signaled
during the compilation of a Pascal program.
"Appendix
E.
Run-Time Errors," which is a listing of the error messages issued by
the system default error procedure.
"Appendix F. ISIS-II Error Messages," which is a listing of the error messages
issued by ISIS-II.
"Appendix
G.
Syntax Summary," which summarizes the syntax of legal
PASCAL-SO programs.
"Appendix
H.
Summary of Extensions to Standard Pascal," which summarizes all
extensions to Standard Pascal provided by PASCAL-SO.
"Appendix I. Implementation Details," which presents the format of the
predeclared data types in P ASCAL-80, lists certain implemtntation size limits, and
summarizes the differences between P ASCAL-80 and Standard Pascal.
"Appendix]. Pascal Reference Texts," which lists a number of books that are of
interest to the Pascal programmer.
"Appendix
K.
Directory of Release Diskettes," which lists the file directories of
both the single density and double density release diskettes.
•
..
..
•
•
•
,
Related Publications
For additional information concerning ISIS-II and PASCAL-SO, refer to the follow-
ing Intel documents:
ISIS-II User's Guide
808018085 Floating Point Arithmetic Library
User's Manual
ISIS-II CREDIT (CRT-Based Text Editor)
User's Guide
RMXISO User's Guide
RMXISO Interactive Configuration
Utility User's Guide
PLIM Programming Manual
ISIS-II PLIM Compiler
Operator's Manual
808018085 Assembly Language
Reference Manual
Order Number: 9800306
Order Number: 9800452
Order Number: 9S00902
Order Number: 9800522
Order Number: 142603
Order Number: 980026S
Order Number: 9S00300
Order Number: 9800301
.
•
•
iv
•
.
1.
2.
3.
ISIS-II
SOSOlSOS5 Macro Assembler
Operator's Manual
FORTRAN-SO Programming Manual
ISIS-II
FORTRAN-SO Compiler
Operator's Manual
Order Number: 9800292
Order Number: 9800481
Order Number: 9800480
Notation in this Manual
Throughout this manual, the following notation is used to describe the format of a
Pascal program:
Certain key words are reserved and cannot be used as identifiers. In this manual
they are in capital letters. Refer to Appendix B for a list of reserved words.
Variable names are denoted by words in lower case.
Language features which exceed Standard Pascal are shaded.
•
•
•
•
v
Plik z chomika:
sdfg_ds
Inne pliki z tego folderu:
PASCAL_User_Manual_and_Report_1974_Jensen_Wirth.pdf
(6393 KB)
Pascal_ISO_7185_1990.pdf
(3976 KB)
A_Collection_of_Pascal_Programs_1979_Wirth.pdf
(1744 KB)
The_Programming_Language_Pascal_1970_Wirth.pdf
(2083 KB)
The_Programming_Language_Pascal_Revised_Report_1973_Wirth.pdf
(1931 KB)
Inne foldery tego chomika:
Algorithms
Artificial Intelligence
C
Compilers
Concurrency
Zgłoś jeśli
naruszono regulamin