Update RScript

This commit is contained in:
2025-10-16 00:39:45 +08:00
parent 8e8edd8724
commit 9d7fbf9786
2 changed files with 5 additions and 14 deletions

View File

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