Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(column), | intent(in) | :: | this | |||
integer, | intent(in) | :: | i |
pure function get_single_col_integer(this, i) result(val) class(column), intent(in) :: this integer, intent(in) :: i integer(ik) :: val if (this % dtype /= INTEGER_NUM) error stop 'column is not of type integer' if (i > this % n) error stop 'out of bounds attempt on data column' val = this % icol(i) end function get_single_col_integer