From 6c3dac37f4900f9e85ca5be9629f31d7fc36a91b Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sun, 28 Oct 2018 09:12:38 +0100 Subject: [PATCH] manual: Update from wiki.gnome.org --- doc/manual/manual.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/manual/manual.xml b/doc/manual/manual.xml index b8251686a..e15c9374d 100644 --- a/doc/manual/manual.xml +++ b/doc/manual/manual.xml @@ -361,6 +361,9 @@ Array types TODO: Check correctness. An array is a data structure that can contains zero or more elements of the same type, up to a limit defined by the type. An array may have multiple dimensions; for each possible set of dimensions a new type is implied, but there is a meta type available that describes an array of any size with the same number of dimensions, i.e. int[1] is not the same type as int[2], while int[] is the same type as either. +A size can be retrieved from an array using the length member, this returns an int if the array has one dimension or an int[] if the array contains several dimensions. +You can also move or copy and array using respectively the move and copy members. +For single-dimension arrays, a resize member is also available to change the length of the array. See Expressions/Array instantiation for how to instantiate an array type. -- 2.47.2