Tip: | When the output is large, it is useful to use the PUTL statement because it adds a new line to the end of the output. |
putl 'color=' foreground;
If the variable does not have a value, then the text is not written, and there is no output for the text or the variable. For example, for the following PUTL statement, if the variables BackGround, ForeGround, and CellPadding do not have values, then the output is <table> followed by two new lines:
putl '<table' 'background=' background 'foreground=' foreground 'cellpadding=' cellpadding '>' nl;
putl 'color=' foreground;
If the variable does not have a value, then the text is not written, and there is no output for the text or the variable. For example, for the following PUTL statement, if the variables BackGround, ForeGround, and CellPadding do not have values, then the output is <table> followed by two new lines: one that is specified and the other that is generated automatically:
putl '<table' 'background=' background 'foreground=' foreground 'cellpadding=' cellpadding '>' nl;
For information about variables, see Understanding Variables.
Event Variables for a list of event variables