Difference between revisions of "Better and easier syntax for arrays"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''<translate>Supported platforms</translate>:''' [[File:Platform android]][[File:Platform ios]][[File:Platform mac]][[File:Platform pc]]<br/> | + | '''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]]<br/> |
'''<translate>Available since</translate>:''' Gideros 2017.11<br/> | '''<translate>Available since</translate>:''' Gideros 2017.11<br/> | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === |
Revision as of 09:36, 24 August 2018
Supported platforms:
Available since: Gideros 2017.11
Description
Operators to return the larger or smaller of two values.
a=b[c , d] The same as 'a=b[c][d]' but shorter and easier to understand and read.
Examples
Simple examples
a={{1,2,3},{4,5,6},{7,8,9}}
b=a[2,2] -- b will be 5, easier to read than b=[a][b]
a[2,2]=7 -- same as a[2][2]=7
Methods |
EventsConstants |