Skip to content

Commit 8aa66e9

Browse files
committed
Update examples.md
1 parent efdb5b3 commit 8aa66e9

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

doc/examples.md

+2-24
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,10 @@ true
7575
```
7676

7777
###var_array
78-
(not yet implemented)
7978

8079
PipelineScript
8180
```
82-
num[] x = [1, 2, 3]
81+
num[] x = {1, 2, 3}
8382
print x
8483
```
8584

@@ -99,7 +98,7 @@ Output
9998

10099
PipelineScript
101100
```
102-
table x = [[1, 2], [3, 4]]
101+
table x = {{1, 2}, {3, 4}}
103102
print x
104103
```
105104

@@ -115,27 +114,6 @@ Output
115114
3.0 4.0
116115
```
117116

118-
###var_graph
119-
(not yet implemented)
120-
121-
PipelineScript
122-
```
123-
graph x = 3[[1, 2], [1, 3], [2, 3]]
124-
print x
125-
```
126-
127-
Java
128-
```java
129-
Graph x = new Graph(3, new int[][]{{1, 2}, {3, 4}});
130-
System.out.println(x);
131-
```
132-
133-
Output
134-
```
135-
3
136-
1 2
137-
3 4
138-
```
139117

140118
###arith_add
141119

0 commit comments

Comments
 (0)