2021-05-08 21:51:15 +00:00
|
|
|
struct MyStruct {
|
|
|
|
static MyFunc(): int {
|
|
|
|
myStructInt: int = 595959959;
|
|
|
|
return myStructInt;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-07 20:22:51 +00:00
|
|
|
struct Program {
|
2021-05-08 21:51:15 +00:00
|
|
|
static Foo(): int {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2021-05-07 20:22:51 +00:00
|
|
|
static Main(): int {
|
|
|
|
myInt: int = 54;
|
|
|
|
if (myInt < 0) {
|
|
|
|
signTag: int = 0 - 1;
|
|
|
|
} else if (myInt == 0) {
|
|
|
|
signTag: int = 0;
|
|
|
|
} else {
|
|
|
|
signTag: int = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
myBool: bool;
|
|
|
|
if (myBool) {
|
|
|
|
if (myBool) {
|
|
|
|
if (myBool) {
|
|
|
|
if (myBool) {
|
|
|
|
if (myBool) {
|
2021-05-07 02:53:28 +00:00
|
|
|
lol: int = 69;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-08 21:51:15 +00:00
|
|
|
someInt: int = 9585858;
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
static Bar(): int {
|
2021-05-07 02:53:28 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|