Array of (keyword)
From RemObjects Software
array of is used for arrays initialization:
type TypeBoundArray: array [0..5] of String; var unboundArray: array of String; //unbound array boundArray: TypeBoundArray; //bound array begin unboundArray := new String[25]; // 25 strings 0..24 boundArray := new TypeBoundArray; // 6 strings 0..5 ... var x: array of Integer := [1,2]; //2 integers ...
Arrays will be initialized if they comply with the three following rules:
- all bounds are specified (array[0..] of byte won't be initialized, array[0..10] of byte will be)
- they are defined as a field or local var
- they don't have an initial value explicitly assigned
See Also
Product: RemObjects Oxygene (formerly known as Chrome)
Current version: 3.0
Previous Versions: 'Joyride' (2.0), 'Floorshow' (1.5), 'Adrenochrome' (1.0)
Glossary — Keywords — Language Features — Platform Features — Samples — Articles — How To — Issues
Categories: Text | Oxygene | Language | Keyword
