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}");