Difference between revisions of "Better and easier syntax for arrays"
From GiderosMobile
(removed language stuff) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | |||
'''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]]<br/> | '''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]]<br/> | ||
'''Available since:''' Gideros 2017.11<br/> | '''Available since:''' Gideros 2017.11<br/> | ||
Line 8: | Line 7: | ||
=== Examples === | === Examples === | ||
− | |||
<source lang="lua"> | <source lang="lua"> | ||
a={{1,2,3},{4,5,6},{7,8,9}} | a={{1,2,3},{4,5,6},{7,8,9}} | ||
Line 14: | Line 12: | ||
a[2,2]=7 -- change value of a[2,2] to 7, same as a[2][2]=7 | a[2,2]=7 -- change value of a[2,2] to 7, same as a[2][2]=7 | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{GIDEROS IMPORTANT LINKS}} | {{GIDEROS IMPORTANT LINKS}} |