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
2- 9
Signed Real:
Example
0.1 { Real with no scale factor. }
5E-3 { Real with no decimal point. }
3.14159265358979L0 { Longreal. }
87.35e+8 { Real. }
Comments
Comments
consist of a sequence of characters that starts with either of
the equivalent symbols { or (*, and end with either of the equivalent
symbols } or *).
Comments are used to document a program. Since a comment is a
separator
,
it may appear anywhere in a program where a
separator
may appear.
However, nested comments are not legal. Note that comments do not have
to be on lines by themselves and may cross line boundaries.
Syntax
Comment:
Example
{ comment }
(*comment*)
{ comment*)
{ { { { comment }
{ This comment
occupies more than one line. }