From b4c933e3d4c310969a6ac265531e23d6b9d4c6fd Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 21 Jul 2025 17:10:42 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E6=9B=B4=E6=96=B0=20Demo14=20=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改导入模块,使用 os 模块替代 BuiltinUtils - 更新 syscall 调用,增加表达式计算 --- playground/Demo/Demo14/Main.snow | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playground/Demo/Demo14/Main.snow b/playground/Demo/Demo14/Main.snow index 42049ea..8e5baff 100644 --- a/playground/Demo/Demo14/Main.snow +++ b/playground/Demo/Demo14/Main.snow @@ -1,10 +1,10 @@ module: Main - import: BuiltinUtils + import: os function: main return_type: void body: - syscall("PRINT",1) + syscall("PRINT",2222+1) end body end function end module \ No newline at end of file