HTML page with two frames
.h.fram[t;s;(l;r)]
Where
t is the page title (string)s is a list of stringsl and r are respectively the sources of the left and right frames (strings)returns as a string an HTML page with two frames in a frameset wide enough to accommodate the lines of s.
Example: suppose tmp.htm contains the content for the first frame.
q)`tmp.txt: 0:0N!s:" "sv'2#''string 5 10#50?100
"12 10 11 90 73 90 43 90 84 63"
"93 54 38 97 88 58 68 45 22 39"
"64 49 82 40 88 77 30 17 23 12"
"66 36 37 44 28 20 30 34 77 61"
"70 36 12 97 92 99 45 83 94 88"
q).h.fram["Five rows";s;("tmpl.htm";"tmp.txt")]
"<html><head><title>Five rows</title><frameset cols=\"316,*\"><frame
src=\"tmp.htm\"><frame name=v src=\"tmp.txt\"></frameset></head></html>"