🚀 add lib function exit() and add test file watchdog.nas to run the nasal file when it is changed.

This commit is contained in:
ValKmjolnir
2022-08-27 18:12:32 +08:00
parent eb0f5ffcc2
commit c7662af0fc
6 changed files with 70 additions and 6 deletions
+5
View File
@@ -61,6 +61,11 @@ var floor=func(val){
return __floor(val);
}
# exit using std::exit
var exit=func(val=-1){
return __exit(val);
}
# abort using std::abort
var abort=func(){
__abort();