Skip to content

Array datatype

Include: Built in; no package required.

Array values are DataFlex non-scalar heap/reference values declared with Type[] syntax.

Size

Pointer-sized runtime reference storage; array payload length is dynamic.

Range

Array bounds and element count are runtime-managed.

Example

String[] aNames
Move "Ada" to aNames[0]

Nested array syntax is used by current packages:

Variant[][] aRows

A current package-style array of structs uses the same syntax:

tWebValueTree[] aChildren

Notes

Arrays are one of the runtime non-scalar types. Current package examples include UChar[], Variant[][], and arrays of struct values.