EP RScript

This commit is contained in:
2025-10-16 20:15:59 +08:00
parent 22b8c1838a
commit 4dc6691650
2 changed files with 9 additions and 1 deletions

View File

@@ -29,12 +29,20 @@ goto(true,func1);
Func(i);
goto(100>i,test);
goto(context.ExistNamespace(""x""),end);
namespace(x)
{
Func(""xxx"");
}
namespace(func1)
{
i = Pow(i,2);
count = count + 1;
Func(count);
}
label(end);
", import);
Console.WriteLine($"Script executed successfully. Result: {result["i"].data}");
}