C Library Functions  - visible (3)

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


Nemo Release 3.1 visible (3) February 23, 2025
Generated by manServer 1.08 from fb98392f-f3c7-4f6b-871b-25aa699b298e using man macros.