cclang/doc/test.bl

44 lines
836 B
Plaintext
Raw Normal View History

// 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;
output('Hello World');
output(66);
output(3 + 3);
2020-05-25 16:36:44 +02:00
var test: string = input('# ');
output(test);
output(false);
2020-05-23 13:40:51 +02:00
/*if (testBool != empty) {
output(testEmpty);
2020-05-23 13:40:51 +02:00
}*/
test1234(range(0, 10));
}
2020-05-24 17:56:15 +02:00
# public func test1234(param: list) {
2020-05-25 16:36:44 +02:00
public func test1234(): void
2020-05-24 17:56:15 +02:00
{
2020-05-23 13:40:51 +02:00
/*for i in range(0, length(param)) {
output(i);
2020-05-23 13:40:51 +02:00
}*/
pass;
}
}
2020-05-24 17:56:15 +02:00
}
lib test
{
public class Test
{
}
}