Better and easier syntax for arrays

From GiderosMobile
Revision as of 14:26, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.png
Available since: Gideros 2017.11


a=b[c , d]   the same as   a=b[c][d]   but shorter and easier to understand and read.


b=a[2,2] -- b will be 5, easier to read than b=a[2][2]
a[2,2]=7 -- change value of a[2,2] to 7, same as a[2][2]=7