Tuple as return values
zeegin opened this issue · 0 comments
zeegin commented
Provide:
Function Foo()
Return Tuple(0, "Val1");
EndFunction
Procedure Bar()
Result = Foo();
Res = Detuple(Result);
Res.Item1;//0
Res.Item2;//Val1
Res = Detuple(Result, "Value1", "Value2");
Res.Value1;//0
Res.Value2;//Val1
EndProcedure