fn test =
(
return true
)
fn run =
(
if try (test()) catch(true) == false then print "aaa1" else print "bbb1"
--需要用变量接收才能得到正确判定?
res = try (test()) catch(true)
if res == false then print "aaa2" else print "bbb2"
ok
)
run()
fn test =
(
return true
)
fn run =
(
if try (test()) catch(true) == false then print "aaa1" else print "bbb1"
--需要用变量接收才能得到正确判定?
res = try (test()) catch(true)
if res == false then print "aaa2" else print "bbb2"
ok
)
run()