-
Notifications
You must be signed in to change notification settings - Fork 0
/
helloworld.g.out
113 lines (70 loc) · 1.58 KB
/
helloworld.g.out
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
class Main {
decimal Z = 3.210490590390590349509382387648723658764526735446752376452387654876253;
string test = "this is a test";
boolean bb = false;
string functionTestA()
{
decimal h = 1 + 2 + 3;
if(!bb) {
console("bb is false");
}
if(bb != true ) {
console("bb is false");
}
if(bb == false ) {
console("bb is false ");
} else {
console("bb is true ");
}
return "Nothing important";
}
decimal functionTest(decimal A, decimal B)
{
return A + B + Z;
}
boolean b2 = false;
boolean main( ) {
decimal a = 2.2034909349503490590349509345;
for(decimal d = 0; d < 10; d++ ) {
console(d);
}
Two two = new Two();
console(two.getHelloWorld());
console(functionTest(a,2.5));
return true;
}
}
class Hour {
void main() {
decimal x = 0;
x++;
if( x == 1 ) {
return;
}
}
}
class Two {
boolean b1 = false;
boolean b2 = false;
string getHelloWorld(){
return "Hello World";
}
}
class Three {
decimal x = 1;
decimal y = 2;
decimal z = 3;
string testTwo = "This is a test " + x + " some more string.";
string gotcha( ) {
if( x == x ) {
return "True";
}
if( x != x ) {
return "True";
}
x++;
y++;
z--;
return testTwo;
}
}