Subprogram Name | Source Name | Executable Example | Viewable Example |
---|---|---|---|
H3-OPEN-HTML |
H3OHTML |
E3HTML |
E3HTML |
Creates an HTML document with a head, title and beginning of body.
All (A250) BY VALUE variables at the interfaces have been changed to (A) DYNAMIC BY VALUE.
There is no need to recatalog the programs, because the old interface (A250) is compatible with the new one.
H3-OPEN-HTML
<HTML>
<HEAD>
<TITLE>TITLE</TITLE>
</HEAD>
<BODY BACKGROUND="URL",
BGCOLOR="#RPG">
H3-OPEN-HTML-JAVASCRIPT
<HTML>
<HEAD>
<SCRIPT LANGUAGE='JavaScript'
SRC='URL'></SCRIPT>
<SCRIPT LANGUAGE='JavaScript' >
<!--- hide script from old browsers
PROGRAM
// end hiding from old browsers -->
</SCRIPT>
<TITLE>TITLE</TITLE>
</HEAD>
<BODY BACKGROUND="URL",
BGCOLOR="#RPG">
H3-CLOSE-HTML
</BODY>
</HTML>
BACKGROUND="URL",
BGCOLOR="#RPG",
SRC='URL'
H3-OPEN-HTML
1 H3TITLE (A) DYNAMIC /* i /m: Title of the HTML document 1 H3BGCOLOR (A) DYNAMIC /* i /M: Background colour 1 H3BGPICTURE (A) DYNAMIC /* i /M: Background picture
H3-OPEN-HTML-JAVASCRIPT
1 H3TITLE (A) DYNAMIC /* i /m: Title of the HTML document 1 H3BGCOLOR (A) DYNAMIC /* i /M: Background colour 1 H3BGPICTURE (A) DYNAMIC /* i /M: Background picture 1 H3JAVASRC (A) DYNAMIC /* i /M: ULR to a JavaScript source 1 H3JAVA (A/1:V) DYNAMIC /* i /M: JavaScript 1 H3JAVACOUNTER (I4) /* i /M: Number of JavaScript source lines 1 H3ONLOAD (A) DYNAMIC /* i /M: onload event handler 1 H3ONUNLOAD (A) DYNAMIC /* i /M: onunload event handler
H3-CLOSE-FORM
/* none
PERFORM H3-OPEN-HTML H3TITLE H3BGCOLOR H3BGPICTURE PERFORM H3-OPEN-HTML-JAVASCRIPT H3TITLE H3BGCOLOR H3BGPICTURE H3JAVASRC H3JAVA H3JAVACOUNTER H3ONLOAD H3ONUNLOAD PERFORM H3-CLOSE-HTML