Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

Character Representation

A character string is a contiguous sequence of bytes in memory, as shown below.

The symbol :A in the figure specifies the address of the byte containing bit 0, which is the starting address of the represented data element.

CHARACTER Data Representation

A character string is specified by two attributes: the address A of the first byte of the string, and the length L of the string in bytes.

Linux

The length L of a string is in the range 1 through 9,223,372,036,854,775,807 (2**63-1).

Windows

The length L of a string is in the range 1 through 2,147,483,647 (2**31-1) .