From 4dc6691650d5dbf46e8bbb61269dc57e077fbe99 Mon Sep 17 00:00:00 2001 From: ninemine <1371605831@qq.com> Date: Thu, 16 Oct 2025 20:15:59 +0800 Subject: [PATCH] EP RScript --- Convention/[RScript] | 2 +- [Test]/Program.cs | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Convention/[RScript] b/Convention/[RScript] index 97a6e4d..52e8e85 160000 --- a/Convention/[RScript] +++ b/Convention/[RScript] @@ -1 +1 @@ -Subproject commit 97a6e4d76b5399c781e3913df5d1529ac606373f +Subproject commit 52e8e855429c99ee7d5444cfcfa6434b2b657a97 diff --git a/[Test]/Program.cs b/[Test]/Program.cs index 0872587..e954a29 100644 --- a/[Test]/Program.cs +++ b/[Test]/Program.cs @@ -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}"); }