Restriction: | Unlike the other PUT statements, the PUTLOG statement does not specify new lines. |
putlog '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 PUT statement, if the variables BackGround, ForeGround, and CellPadding do not have values, then the output that is written to the log is <table>:
putlog '<table' 'background=' background 'foreground=' foreground 'cellpadding=' cellpadding '>';
putlog '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 PUTLOG statement, if the variables BackGround, ForeGround, and CellPadding do not have values, then the output that is written to the log is <table>:
putlog '<table' 'background=' background 'foreground=' foreground 'cellpadding=' cellpadding '>';
For information about variables, see Understanding Variables.
Event Variables for a list of event variables