From 22b8c1838a2bfddf4ae578cfe0812d6e6a2e55c8 Mon Sep 17 00:00:00 2001 From: ninemine <1371605831@qq.com> Date: Thu, 16 Oct 2025 17:24:06 +0800 Subject: [PATCH] =?UTF-8?q?EP=20RScript/=E4=BF=AE=E5=A4=8D=E9=81=97?= =?UTF-8?q?=E6=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Convention/[RScript] | 2 +- [Test]/Program.cs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Convention/[RScript] b/Convention/[RScript] index 15bdb6f..97a6e4d 160000 --- a/Convention/[RScript] +++ b/Convention/[RScript] @@ -1 +1 @@ -Subproject commit 15bdb6f8db4fabc3ddf089950a5c5f8cedb4d101 +Subproject commit 97a6e4d76b5399c781e3913df5d1529ac606373f diff --git a/[Test]/Program.cs b/[Test]/Program.cs index ed87f48..0872587 100644 --- a/[Test]/Program.cs +++ b/[Test]/Program.cs @@ -23,14 +23,17 @@ public class Program }; var result = engine.Run(@" int i= 2; +int count = 0; label(test); goto(true,func1); +Func(i); goto(100>i,test); namespace(func1) { i = Pow(i,2); - Func(i); + count = count + 1; + Func(count); } ", import); Console.WriteLine($"Script executed successfully. Result: {result["i"].data}");