-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.epal
49 lines (45 loc) · 898 Bytes
/
example.epal
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
include <string>
need vector
class myfirstepalclass
privatevar1 is 0
public
var1 is hallo
end
// example comment
func test_func var1:int var2:string
print var1 + var2 + test string concat
end
main
scur is 5
i is 40
do loop for i 20
if i % 2 equals 0
scur is scur add 1
print scur
try
print scur
cfh exception lulzerror
print nope
end
end
end
scurclass is myfirstepalclass
scurclass.var1 is lol
print scurclass.var1
ptr ex_ptr to scurclass.var1
print_val ex_ptr
ref ex_ref to scur
print ex_ref
switch scur
case 15
print sucess
break
case 1
print noooo
break
end
print scur
test_func scur helloooo
/*
and a neatly block comment
*/