This commit is contained in:
Valk Richard Li
2020-02-04 17:48:14 +08:00
committed by GitHub
parent 22bfe370d2
commit cffe95f1d8
4 changed files with 25 additions and 1 deletions
+11 -1
View File
@@ -43,4 +43,14 @@ var cl_fun=func(x)
b=cl_fun(1);
c=cl_fun(10);
print(b());
# output 1
# output 1
a=3;
b=0;
if(a==3)
{
var c=10;
b=func{return c;};
}
print(b());
# output 10