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
3- 23
A string expression may consist of any of the following:
* A string literal.
* A string variable.
* A string constant.
* A function result that is a string.
* An expression formed with the concatenation operator.
NOTE Variables of type string, as well as other Pascal variables, are
not initialized. The current string length contains meaningless
information until the string is initialized.
Permissible Operators
assignment :=
concatenation +
relational =, <>, <=, >=, >, <
Standard Functions
string argument - str strpos
strlen strrpt
strltrim strrtrim
strmax
string return - str
strltrim
strrpt
strrtrim
Standard Procedures
string parameter prompt strinsert
-
read strmove
readdir strread
readln strwrite
setstrlen write