Arrays of Arrays Declaration

Share your ideas as to how the documentation can be improved.
User avatar
lmstearn
Posts: 698
Joined: 11 Aug 2016, 02:32
Contact:

Arrays of Arrays Declaration

22 Aug 2022, 08:49

Something that may or may not be worth a mention: In the v2 documentation there is:

Code: Select all

grid := [[1,2,3],
		[4,5,6],
		[7,8,9]]
MsgBox grid[1][3] ; 3
MsgBox grid[3][2] ; 8
In v1 docs, the above example is omitted, this works instead:

Code: Select all

grid := [[1,2,3]
		,[4,5,6]
		,[7,8,9]]
MsgBox % grid[1][3] ; 3
MsgBox % grid[3][2] ; 8
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH

Return to “Suggestions on Documentation Improvements”

Who is online

Users browsing this forum: No registered users and 3 guests