HP (Hewlett-Packard) SunSoft Pascal 4.0 user manual

User manual for the device HP (Hewlett-Packard) SunSoft Pascal 4.0

Device: HP (Hewlett-Packard) SunSoft Pascal 4.0
Category: Printer
Manufacturer: HP (Hewlett-Packard)
Size: 0.63 MB
Added : 10/14/2014
Number of pages: 333
Print the manual

Download

How to use this site?

Our goal is to provide you with a quick access to the content of the user manual for HP (Hewlett-Packard) SunSoft Pascal 4.0. Using the online preview, you can quickly view the contents and go to the page where you will find the solution to your problem with HP (Hewlett-Packard) SunSoft Pascal 4.0.

For your convenience

If looking through the HP (Hewlett-Packard) SunSoft Pascal 4.0 user manual directly on this website is not convenient for you, there are two possible solutions:

  • Full Screen Viewing - to easily view the user manual (without downloading it to your computer), you can use full-screen viewing mode. To start viewing the user manual HP (Hewlett-Packard) SunSoft Pascal 4.0 on full screen, use the button Fullscreen.
  • Downloading to your computer - You can also download the user manual HP (Hewlett-Packard) SunSoft Pascal 4.0 to your computer and keep it in your files. However, if you do not want to take up too much of your disk space, you can always download it in the future from ManualsBase.
HP (Hewlett-Packard) SunSoft Pascal 4.0 User manual - Online PDF
Advertisement
« Page 1 of 333 »
Advertisement
Print version

Many people prefer to read the documents not on the screen, but in the printed version. The option to print the manual has also been provided, and you can use it by clicking the link above - Print the manual. You do not have to print the entire manual HP (Hewlett-Packard) SunSoft Pascal 4.0 but the selected pages only. paper.

Summaries

Below you will find previews of the content of the user manuals presented on the following pages to HP (Hewlett-Packard) SunSoft Pascal 4.0. If you want to quickly view the content of pages found on the following pages of the manual, you can use them.

Abstracts of contents
Summary of the content on the page No. 1

Pascal 4.0 User’s Guide
A Sun Microsystems, Inc. Business
2550 Garcia Avenue
Mountain View, CA 94043
U.S.A.
Part No.: 802-2943-10
Revision A, November 1995

Summary of the content on the page No. 2

© 1995 Sun Microsystems, Inc. 2550 Garcia Avenue, Mountain View, California 94043-1100 U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. ® Portions of this product may be derived from the UNIX system and from the Berkeley 4.3 BSD

Summary of the content on the page No. 3

Contents Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Pascal Compiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Summary of the content on the page No. 4

Compiling the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Running the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Renaming the Executable File . . . . . . . . . . . . . . . . . . . . . . . . 9 An Interactive Pascal Program. . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Compiling the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Running the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 R

Summary of the content on the page No. 5

–c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 -calign . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 –cg89 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 –cg92 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 -cond . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 –config . .

Summary of the content on the page No. 6

–L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 –l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 -Ldirectory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 -libmieee. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 –libmil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 –llib. . . .

Summary of the content on the page No. 7

-R path[:dir] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 -Rw. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 –S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 –s[level] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 –sb. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 –sbfast

Summary of the content on the page No. 8

-xlibmieee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 -xlibmil. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 -xlibmopt. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 –xlicinfo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 –xMerge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 -xnolib . . . . . . . . . . . . . . .

Summary of the content on the page No. 9

Sharing Variables Between Units. . . . . . . . . . . . . . . . . . . . . . 71 Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 5. Separate Compilation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Working with Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Using Program Units. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Using Module Units . . . . . . . . . . . . .

Summary of the content on the page No. 10

Function Return Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Parameters That Are Pointers to Procedures . . . . . . . . . . . . 131 Procedures and Functions as Parameters . . . . . . . . . . . . . . . . . . 132 Global Variables in C and Pascal . . . . . . . . . . . . . . . . . . . . . . . . . 133 File-Passing Between Pascal and C . . . . . . . . . . . . . . . . . . . . . . . 134 7. The C++–Pascal Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 S

Summary of the content on the page No. 11

General Parameter-Passing in FORTRAN and Pascal. . . . . . . . 167 Procedure Calls: FORTRAN-Pascal . . . . . . . . . . . . . . . . . . . . . . . 168 Variable Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 Value Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 Pointers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 Function Return Values. . . . . . . . . . . . . . . . . . . . . . . . .

Summary of the content on the page No. 12

Thescalar Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211 Procedure and Function Type Errors. . . . . . . . . . . . . . . . . . . 211 Scalar Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 Expression Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 Type Equivalence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 Unreachable Statements . . . . . . . . . . . . . . . . . . . . . . . .

Summary of the content on the page No. 13

An Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 Sample Translation of an XView Function to Pascal . . . . . . 229 Sample Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 Menu Demo Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 11. Math Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 Contents of the Math Libraries. . . . . . . . . . .

Summary of the content on the page No. 14

xiv Pascal 4.0 User’s Guide

Summary of the content on the page No. 15

Figures Figure 3-1 Organization of Pascal Compilation. . . . . . . . . . . . . . . . . . . . . . 19 Figure 3-2 Options in Program Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Figure 10-1 A Sample Class Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 xv

Summary of the content on the page No. 16

xvi Pascal 4.0 User’s Guide

Summary of the content on the page No. 17

Tables Table 3-1 File Name Suffixes Recognized by Pascal . . . . . . . . . . . . . . . . . 20 Table 3-2 Options That Can Be Passed in Program Text . . . . . . . . . . . . . 21 Table 3-3 The-xarch Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Table 3-4 The-xcache Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Table 3-5 The-xchip Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Table 3-6 The-xprofile

Summary of the content on the page No. 18

Table 10-1 C Declarations to Pascal Declarations . . . . . . . . . . . . . . . . . . . . 228 Table 11-1 Contents of Math Libraries. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 xviii Pascal 4.0 User’s Guide

Summary of the content on the page No. 19

Preface This manual describes the Pascal 4.0 compiler from SunSoft™. The purpose of this manual is to help you begin writing and compiling Pascal programs on a SPARCstation™. In a previous major release, this Pascal compiler also ran on Solaris 1.x. Some features remain in the documentation as being for Solaris 1.x only. TheREADME file that accompanies the product contains other release-specific information, Note – All references to Pascal in this manual refer to the Pascal 4.0 compiler unless ot

Summary of the content on the page No. 20

Audience This guide was prepared for software engineers who write Pascal programs on a SPARCstation. It assumes you are familiar with ISO standard Pascal and the Solaris™ operating system. Organization This guide contains the following chapters: • Chapter 1, “Introduction,” gives basic information about the Pascal compiler and related program development tools. • Chapter 2, “Pascal Programs,” describes how to write, compile, and run a Pascal program. • Chapter 3, “The Pascal Compiler,” describe


Alternative user manuals
# User manual Category Download
1 HP (Hewlett-Packard) 1000 Series User manual Printer 24
2 HP (Hewlett-Packard) 1000 User manual Printer 6
3 HP (Hewlett-Packard) 1000C User manual Printer 4
4 HP (Hewlett-Packard) 1150 1300 1300n User manual Printer 28
5 HP (Hewlett-Packard) 1055CMHP User manual Printer 15
6 HP (Hewlett-Packard) 1005 Series User manual Printer 38
7 HP (Hewlett-Packard) 1100AHP User manual Printer 2
8 HP (Hewlett-Packard) 1200C User manual Printer 5
9 HP (Hewlett-Packard) 1200 series User manual Printer 16
10 HP (Hewlett-Packard) 130 Series User manual Printer 5
11 HP (Hewlett-Packard) 1018 User manual Printer 0
12 HP (Hewlett-Packard) 1160 User manual Printer 4
13 HP (Hewlett-Packard) 1300N User manual Printer 1
14 HP (Hewlett-Packard) 1240 Series User manual Printer 4
15 HP (Hewlett-Packard) 1320 Series User manual Printer 5
16 Sony DPP-M55 User manual Printer 0
17 Sony LPR-1000MD User manual Printer 1
18 Sony iP1200 User manual Printer 1
19 Sony Digital Photo DPP-EX7 User manual Printer 15
20 Sony DPPFP75 User manual Printer 14