if the char is part of a number, then get it and append to ivals
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | i | |||
| integer, | intent(in) | :: | j |
logical function check(i,j) !! if the char is part of a number, then get it and append to ivals integer,intent(in) :: i,j check = is_number(array(i,j)) if (check) ivals = [ivals, get_number(i,j)] end function check