Task

Show how to return more than one value from a function.




# define a function returning three values
mv := proc() is
    return 1, 2, "three"
end ; # mv
 
scope # test the mv() proc
    local a, b, c := mv();
    print( c, b, a )
epocs