[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'sysutils' (#rtl)

# TArray

Generic array definition

## Declaration

Source position: syshelph.inc line 4

`type TArray = array of T;`

## Description

TArray is a generic array. It can be used to define dynamic arrays in generic functions or classes.

This definition is provided for Delphi compatibility only, it is not needed in Free Pascal, where 2 array types are equal if their element types are equal.

## See also

TStringArray |  | Dynamic array of strings

Documentation generated on: May 14 2021