Hi All,

What is the syntax for returning two variable from a sub?

> sub x(--> Int, UInt) { return(-2,4) };

===SORRY!=== Error while compiling:
Malformed return value (return constraints only allowed at the end of the signature)
------> sub x(--> Int⏏, UInt) { return(-2,4) };

Many thanks,
-T

Reply via email to