Save
This commit is contained in:
@@ -16,11 +16,21 @@ double i;
|
||||
i = 2.0;
|
||||
{
|
||||
label(test);
|
||||
i = Pow(i,2.0);
|
||||
goto(100,i,test);
|
||||
goto(true,func1);
|
||||
goto(100>i,test);
|
||||
}
|
||||
string result;
|
||||
result = i.ToString()+i.ToString();
|
||||
double result;
|
||||
result = i;
|
||||
|
||||
goto(true,end);
|
||||
|
||||
{
|
||||
label(func1);
|
||||
i = Pow(i,2.0);
|
||||
back(true);
|
||||
}
|
||||
|
||||
label(end);
|
||||
", import);
|
||||
Console.WriteLine($"Script executed successfully. Result: {result["result"].data}");
|
||||
}
|
||||
|
Reference in New Issue
Block a user