[UP]


Manual Reference Pages  - M_html (3)

NAME

M_html(3fm) - [M_html] a module of routines to help write output as HTML documents (LICENSE:PD)

CONTENTS

Synopsis
Description
Example
Author
License

SYNOPSIS

use M_html, only : h_open, h_close use M_html, only : h_array

DESCRIPTION

o h_open(lun) open HTML file and create simple header
o h_close(lun) close HTML file
o h_array(lun,array) print a numeric array as an HTML table

EXAMPLE

Sample Usage

   program demo_M_html
      use M_html
      implicit none
      integer :: i,j
      real    :: arr(3,4)=reshape(         &
      & [(((i-1)*3.0+j*2.0,i=1,3),j=1,4)], &
      & shape(arr),order=[1,2])
      integer :: io=6
      call h_open(io,’table.html’)
      call h_array(io,arr)
      call h_close(io)
   end program demo_M_html

Expected output

   demo_M_html|w3m||lynx

+-------------------------------------------+ |2.00000000|4.00000000|6.00000000|8.00000000| |----------+----------+----------+----------| |5.00000000|7.00000000|9.00000000|11.0000000| |----------+----------+----------+----------| |8.00000000|10.0000000|12.0000000|14.0000000| +-------------------------------------------+

AUTHOR

John S. Urban

LICENSE

Public Domain


M_html (3) October 17, 2020
Generated by manServer 1.08 from 6742f3c4-add6-4974-ba9f-40f24a69bc9b using man macros.