Types
Variables
Procedures
PROCEDURE
Append (n: INTEGER;
VAR s: ARRAY OF CHAR);
Appends a textual representation of integer n
to the end of string s
PROCEDURE
Insert (n: INTEGER;
pos: INTEGER;
VAR s: ARRAY OF CHAR);
Inserts a textual representation of integer n
in position pos
of string s
PROCEDURE
Str (n: INTEGER;
VAR s: ARRAY OF CHAR);
Converts integer n
to string s
PROCEDURE
Val (VAR s: ARRAY OF CHAR): INTEGER;
Returns the contents of string s
converted to an integer. If s
does not contain a valid representation of an integer number, returns 0.
PROCEDURE
ValEx (VAR s: ARRAY OF CHAR;
VAR ok: BOOLEAN): INTEGER;
Returns the contents of string s
converted to an integer. Sets ok
to TRUE if s
contains a valid representation of an integer number, otherwise sets ok
to FALSE and returns 0.
Module for conversion of integers to and from a string