Next: , Previous: , Up: Positional Arguments Access   [Index]


9.5.2 Positional Arguments Accessor Operators

$

object $integer

The operator ‘$’ is the argument in the p position, same as ‘lead’.

integer
last(integer a, real b, text c)
{
    return $2;
}

The function ‘last’ returns the value of c.

Display the parameter types, one per line, starting with the first:

    integer i;

    i = -count();
    while (i) {
	o_plan(__type($i), "\n");
	i += 1;
    }