field_index Function

public function field_index(fields, key) result(index)

1-based index of key in the table (normalized compare); 0 when absent.

Arguments

Type IntentOptional Attributes Name
type(field_desc_t), intent(in) :: fields(:)
character(len=*), intent(in) :: key

Return Value integer