-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscript.e2
60 lines (48 loc) · 795 Bytes
/
script.e2
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
@name ExpressionScript Test
GlobalVar = 400
#[
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Nam euismod, tortor sed cursus placerat, massa nunc lobortis turpis,
ut vehicula ante nunc eget eros.
]#
print(_AAAAAAAAAAA)
while(1) {
print("while true do end")
}
"helloworld"()
if(1) {
print("hi")
} elseif(2) {
print("no")
} elseif(3) {
print("bye")
} else {
print("else")
}
Var = 500
switch (Var) {
case 500,
print("this will happen")
break
default,
print("this won't")
break
}
try {
error("Hello world")
} catch(Err) {
print(Err)
}
T = table()
T[1, vector] = vec()
print( T[1, vector] )
local Tbl = table(
"width" = Width,
"height" = Height,
"done" = 0,
"output" = table(),
"png" = 1,
"type" = Type,
"crc" = 0,
"adler" = 1
)