summary refs log tree commit diff stats
path: root/tests/array/tarray3.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/array/tarray3.nim')
-rw-r--r--tests/array/tarray3.nim13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/array/tarray3.nim b/tests/array/tarray3.nim
new file mode 100644
index 000000000..d28778357
--- /dev/null
+++ b/tests/array/tarray3.nim
@@ -0,0 +1,13 @@
+discard """
+  file: "tarray3.nim"
+  output: "3"
+"""
+# simple check for two dimensional arrays

+
+const  
+  myData = [[1,2,3], [4, 5, 6]]
+
+echo myData[0][2] #OUT 3
+
+
+
an up gitignore, the current ignore is equvilent to the previous' href='/ahoang/Nim/commit/.gitignore?h=devel&id=1b1bb284d2a5e221b105d133b05a2dbb228b122a'>1b1bb284d ^
fe0f10f6b ^



0879f0b0a ^
0879f0b0a ^
1b1bb284d ^
0879f0b0a ^

5263d9d6f ^
1b1bb284d ^





2f48dbd16 ^
0879f0b0a ^
180ab350d ^
d20a8ac68 ^
b2e486b23 ^
1b1bb284d ^

1dd9ec85b ^
f2f16f645 ^









f04b502cf ^

fc68a7d88 ^
f04b502cf ^

e9b665f33 ^



f04b502cf ^
1b1bb284d ^
b77ae66e8 ^
9a68e1ad0 ^
5263d9d6f ^



035f0fb02 ^
8d2953e80 ^
035f0fb02 ^

8d2953e80 ^
e9b665f33 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68