forked from PuqiAR/Fig-TreeWalker
[VER] v0.3.6-alpha
[Feat] 增加控制台在线安装器 ! [Impl] 修改ExampleCodes的一些实现,使用最新库 std.io
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import std.io;
|
||||
|
||||
func fib(x:Int) -> Int
|
||||
{
|
||||
if (x <= 1)
|
||||
@@ -8,4 +10,4 @@ func fib(x:Int) -> Int
|
||||
}
|
||||
|
||||
var result := fib(25);
|
||||
__fstdout_println("result: ", result);
|
||||
io.println("result: ", result);
|
||||
Reference in New Issue
Block a user