isOctal Function

public function isOctal(input)

Check if the input string is a valid signed octal integer string.

This function ignores leading and trailing whitespaces.

This function returns a logical value of .TRUE. if the input string is a valid signed octal integer string.

A logical value of .FALSE. will be returned where the input string is empty(only spaces), 0 length, or is not a valid signed octal integer string.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: input

A string.

Return Value logical