Difference between revisions of "Better and easier syntax for arrays"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 11: | Line 11: | ||
b=a[2,2] -- b will be 5, easier to read than b=a[2][2] | 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 | a[2,2]=7 -- change value of a[2,2] to 7, same as a[2][2]=7 | ||
− | </ | + | </syntaxhighlight> |
{{GIDEROS IMPORTANT LINKS}} | {{GIDEROS IMPORTANT LINKS}} |