forked from cosmonaut/wraith-lang
29 lines
603 B
OpenEdge ABL
29 lines
603 B
OpenEdge ABL
struct Program {
|
|
static Main(): int {
|
|
myInt: int = 54;
|
|
if (myInt < 0) {
|
|
signTag: int = 0 - 1;
|
|
} else if (myInt == 0) {
|
|
signTag: int = 0;
|
|
} else {
|
|
signTag: int = 1;
|
|
}
|
|
|
|
lol: int = 420;
|
|
myBool: bool;
|
|
if (myBool) {
|
|
if (myBool) {
|
|
if (myBool) {
|
|
if (myBool) {
|
|
if (myBool) {
|
|
lol: int = 69;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
}
|