Help for this page

Select Code to Download


  1. or download this
    sub GetValue {
      my( $grid, $y, $x ) = @_;
      return "($y, $x)";
    }
    
  2. or download this
    sub GetValueAsDouble {  # Row # plus (Col #/1000)
      my( $grid, $r, $c ) = @_;
      return $r + $c / 1000;
    }