M_html(3fm) - [M_html::INTRO] a module of routines to help write output as HTML documents (LICENSE:PD)
Synopsis
Description
Examples
Author
License
Usage:
use M_html, only : h_open, h_close use M_html, only : h_array
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
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_htmlExpected 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| +-------------------------------------------+
John S. Urban
Public Domain
Nemo Release 3.1 | M_html (3) | February 23, 2025 |