Manual Reference Pages - visible (3m_strings)
NAME
visible(3f) - [M_strings:NONALPHA] expand a string to control and
meta-control representations
(LICENSE:PD)
CONTENTS
Synopsis
Description
Examples
Bugs
Author
License
SYNOPSIS
function visible(input) result(output)
character(len=*),intent(in) :: input
character(len=:),allocatable :: output
DESCRIPTION
visible(3f) expands characters to commonly used sequences used
to represent the characters as control sequences or meta-control
sequences.
EXAMPLES
Sample Program:
program demo_visible
use M_strings, only : visible
integer :: i
do i=0,255
write(*,(i0,1x,a))i,visible(char(i))
enddo
end program demo_visible
BUGS
The expansion is not reversible, as input sequences such as "M-" or
"^a" will look like expanded sequences.
AUTHOR
John S. Urban
LICENSE
Public Domain