2020-05-25 20:32:46 +02:00
|
|
|
use Test from test;
|
|
|
|
|
2020-05-22 22:08:37 +02:00
|
|
|
// hi1
|
|
|
|
# hi2
|
|
|
|
/*
|
|
|
|
hi3
|
|
|
|
*/
|
|
|
|
|
|
|
|
lib Main {
|
|
|
|
class Program {
|
2020-05-25 16:36:44 +02:00
|
|
|
func Main(): void {
|
|
|
|
var testBool: bool;
|
|
|
|
var testEmpty: emptyType = empty;
|
|
|
|
var testNum: number = 3.0;
|
|
|
|
var testBool_2: bool = 3 > 1;
|
2020-05-25 21:05:52 +02:00
|
|
|
# var testTest: Test = Test();
|
|
|
|
# testTest.outp();
|
2020-05-22 22:08:37 +02:00
|
|
|
output('Hello World');
|
|
|
|
output(66);
|
|
|
|
output(3 + 3);
|
2020-05-25 16:36:44 +02:00
|
|
|
var test: string = input('# ');
|
2020-05-22 22:08:37 +02:00
|
|
|
output(test);
|
|
|
|
output(false);
|
|
|
|
|
2020-05-23 13:40:51 +02:00
|
|
|
/*if (testBool != empty) {
|
2020-05-22 22:08:37 +02:00
|
|
|
output(testEmpty);
|
2020-05-23 13:40:51 +02:00
|
|
|
}*/
|
2020-05-22 22:08:37 +02:00
|
|
|
test1234(range(0, 10));
|
|
|
|
}
|
|
|
|
|
2020-05-25 21:05:52 +02:00
|
|
|
public func test1234(param: list): list {
|
|
|
|
# public func test1234(): void
|
|
|
|
# {
|
2020-05-23 13:40:51 +02:00
|
|
|
/*for i in range(0, length(param)) {
|
2020-05-22 22:08:37 +02:00
|
|
|
output(i);
|
2020-05-23 13:40:51 +02:00
|
|
|
}*/
|
|
|
|
pass;
|
2020-05-22 22:08:37 +02:00
|
|
|
}
|
|
|
|
}
|
2020-05-24 17:56:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
lib test
|
|
|
|
{
|
|
|
|
public class Test
|
|
|
|
{
|
|
|
|
|
2020-05-25 20:32:46 +02:00
|
|
|
public func outp(): void {
|
|
|
|
output('Hello_world3');
|
|
|
|
}
|
|
|
|
|
2020-05-24 17:56:15 +02:00
|
|
|
}
|
2020-05-22 22:08:37 +02:00
|
|
|
}
|