Subroutine Name | Executable Example | Viewable Example |
---|---|---|
W3TEXT |
E3TEXT |
E3TEXT |
Writes a character string to the document.
If you want to create a line break after your output, use
W3HTMLLINE
or W3HTMLLINEDYNAMIC
.
If you want to create a line break inside your string, compress ##HTTP-NEWLINE into your string.
W3TEXT and W3TEXTLINE will delete trailing blanks from the given string.
For better performance use dynamic variables.
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.
W3TEXT
1 W3TEXT (A) DYNAMIC /* i /m : Output string
W3TEXTDYNAMIC
1 W3DYNAMIC (A) DYNAMIC /* i /m : Output array
W3TEXTLINE
1 W3TEXT (A) DYNAMIC /* i /m : Output string with new line
W3TEXTLINEDYNAMIC
1 W3DYNAMIC (A) DYNAMIC /* i /m : Output string with new line
W3TEXTARRAY
1 H3ARRAYVALUE (A/1:v) DYNAMIC /* i /m : Output array 1 H3VALUELENGTH (I4) /* i /m : Length of output array
PERFORM W3TEXT W3TEXT PERFORM W3TEXTDYNAMIC W3TEXT PERFORM W3TEXTLINE W3TEXT PERFORM W3TEXTLINEDYNAMIC W3TEXT PERFORM W3TEXTARRAY W3ARRAYVALUE W3VALUELENGTH