diff --git a/playground/Demo/Demo14/Main.snow b/playground/Demo/Demo14/Main.snow index 8e5baff..7ef2b05 100644 --- a/playground/Demo/Demo14/Main.snow +++ b/playground/Demo/Demo14/Main.snow @@ -1,10 +1,9 @@ module: Main import: os - function: main return_type: void body: - syscall("PRINT",2222+1) + print(222) end body end function end module \ No newline at end of file diff --git a/playground/Demo/Demo14/OS.snow b/playground/Demo/Demo14/OS.snow new file mode 100644 index 0000000..f985171 --- /dev/null +++ b/playground/Demo/Demo14/OS.snow @@ -0,0 +1,11 @@ +module: Main + import: os + function: print + parameter: + declare i1: int + return_type: void + body: + syscall("PRINT",i1) + end body + end function +end module \ No newline at end of file