bugfixes & improved language design
This commit is contained in:
10
doc/test.bl
10
doc/test.bl
@@ -1,3 +1,5 @@
|
||||
use Test from test;
|
||||
|
||||
// hi1
|
||||
# hi2
|
||||
/*
|
||||
@@ -11,6 +13,8 @@ lib Main {
|
||||
var testEmpty: emptyType = empty;
|
||||
var testNum: number = 3.0;
|
||||
var testBool_2: bool = 3 > 1;
|
||||
var testTest: Test = Test();
|
||||
testTest.outp();
|
||||
output('Hello World');
|
||||
output(66);
|
||||
output(3 + 3);
|
||||
@@ -24,7 +28,7 @@ lib Main {
|
||||
test1234(range(0, 10));
|
||||
}
|
||||
|
||||
# public func test1234(param: list) {
|
||||
# public func test1234(param: list): list {
|
||||
public func test1234(): void
|
||||
{
|
||||
/*for i in range(0, length(param)) {
|
||||
@@ -40,5 +44,9 @@ lib test
|
||||
public class Test
|
||||
{
|
||||
|
||||
public func outp(): void {
|
||||
output('Hello_world3');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user