What is is_graphical(c) in Fortran?

is_graphical(c) 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_graphical function checks whether its argument is a printable character other than the space character or not.

Syntax

public pure function is_graphical(c)

Parameters

  • c is the character to test.

Return value

The function returns a logical value.

It will return true if the character is a printable character and false otherwise.

Free Resources