diff --git a/Convention/[RScript] b/Convention/[RScript] index b8a87ba..70051b4 160000 --- a/Convention/[RScript] +++ b/Convention/[RScript] @@ -1 +1 @@ -Subproject commit b8a87bae4ce04ee1373bf591b83c97818cb1637e +Subproject commit 70051b46a526730befb4748418dbf25fa6bfa135 diff --git a/[Test]/Program.cs b/[Test]/Program.cs index cb66667..9a94f36 100644 --- a/[Test]/Program.cs +++ b/[Test]/Program.cs @@ -15,23 +15,14 @@ public class Program double i; i = 2.0; label(test); -{ - goto(true,func1); - goto(100>i,test); -} -double result; -result = i; +goto(true,func1); +goto(100>i,test); -goto(true,end); - -label(func1); +namespace(func1) { i = Pow(i,2.0); } -back(true); - -label(end); ", import); - Console.WriteLine($"Script executed successfully. Result: {result["result"].data}"); + Console.WriteLine($"Script executed successfully. Result: {result["i"].data}"); } } \ No newline at end of file