Next Program Repair Shop 192

Typical uses of $#array

        $n_elements = $#array;
        $n_elements = $#array + 1;
        $n_elements = @array;
        $n_elements = $#array;
        if ($n_elements < 3) { ... }
        if (@array < 4) { ... }        


Next Copyright © 2002 M. J. Dominus