What is the is_octal(c) function in Fortran?
Overview
The is_octal(c) function is a public pure function in the stdlib_ascii module. This module provides methods to manipulate and handle intrinsic character variables and constants.
The is_octal function checks whether its argument is a digit in base 8 (0…7) or not.
Syntax
public pure function is_octal(c)
Parameters
cis the character to test.
Return value
The function returns a logical value.
It will return
trueif the character is an octal digit andfalseotherwise.