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-: 8
Example
100 { unsigned integer }
-100 { signed integer }
Real and Longreal Literals
A
real
or
longreal literal
consists of a coefficient and a scale factor.
An E preceding the scale factor is read as times ten to the power of and
specifies a
real literal
. An L preceding scale factor also means times
ten to the power of, but specifies a
longreal literal
.
Lowercase e and l are legal. At least one digit must precede and follow
a decimal point. A number containing a decimal point and no scale factor
is considered a
real literal
.
Syntax
Unsigned Real: