What is is_printable(c) in Fortran?

is_printable(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_printable function checks whether its argument is a printable character (including the space character) or not.

is_printable() function

Syntax

public pure function is_printable(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