From a00b740ad7905b7f24d346fccc33aae69f1b9484 Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Sun, 13 Sep 2020 00:28:10 -0700 Subject: [PATCH] update --- version3.0/lib/system.nas | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/version3.0/lib/system.nas b/version3.0/lib/system.nas index 9816478..72c7a5a 100644 --- a/version3.0/lib/system.nas +++ b/version3.0/lib/system.nas @@ -1,9 +1,10 @@ -var system= +var system=func(str) { - # print the type of thing on the screen - type:func(thing) - { - nasal_call_builtin_scalar_type(thing); - return; - } -}; \ No newline at end of file + nasal_call_builtin_system(str); + return; +} +var sleep=func(duration) +{ + nasal_call_builtin_sleep(duration); + return; +} \ No newline at end of file