1 # Copyright (C) 2001-2008, Parrot Foundation.
6 examples/subs/single_retval.pir - Subroutine example
10 % ./parrot examples/subs/single_retval.pir
14 Simple subroutine calls with 1 return value.
18 F<docs/imcc/syntax.pod>
19 F<docs/imcc/calling_conventions.pod>
31 # subs accept locals and registers
32 $I0 = foo(i, $I1, s, $I2)
37 # subs accept locals and registers
38 ( $I3 ) = foo(i, $I1, s, $I2)
67 # vim: expandtab shiftwidth=4 ft=pir: