TAL Reference Manual

TAL Reference Manual526371-001
9-1
9 Pointers
This section describes the syntax for declaring and initializing pointers you manage
yourself. You can declare the following kinds of pointers:
Simple pointer—a variable into which you store a memory address, usually of a
simple variable or array, which you can access with this simple pointer.
Structure pointer—a variable into which you store the memory address of a
structure which you can access with this structure pointer.
Pointers—simple pointers and structure pointers—can be standard or extended:
Standard (16-bit) pointers can access data only in the user data segment.
Extended (32-bit) pointers can access data in any segment, normally the automatic
extended data segment.
Other information on pointers appears in the TAL manual set as follows:
Information Manual Section/Appendix
Pointer assignments and
access of data to which the
pointerpoints
TAL Programmers Guide 9, “Using Pointers”
Pointers declared inside
structures
TAL Programmers Guide
TAL Reference Manual
8, “Using Structures
Section 8, Structures
Pointer access to the upper
32K-word area of the user data
segment, to the user code
segment, or to an explicit (user-
allocated) extended data
segment
TAL Programmers Guide B, “Managing Addressing
Implicit pointers (those
generated by the compiler
when you declare indirect
arrays and structures)
TAL Programmers Guide 7, “Using Arrays”
8, “Using Structures
Dereferencing (formerly known
as temporary pointers)
TAL Programmers Guide 5, “Using Expressions”