|
Output Object |
|
See Also: |
The Output.Write() method writes a value or string to the output stream.
VBScript:
JScript:
| variant | The data to be written to the output stream. This parameter can be any data type supported by the VARIANT data type, provided it can be converted to a string. |
If the variant parameter is a literal string, it should not contain the character combination "#%>". This character combination will be misinterpreted as a closing APG Script bracket. Instead, the combination should be separated. For example, "#%"&">" is an acceptable format in VBScript.
The following example
<%#
Output.Filename = "Test.htm"
#%>
This file is <%# Output.Write Output.Path #%><BR>
The APG script used to generate this file is
<%# Output.Write Script.Path #%>
produces the output
This file is C:\TEMP\apgs\Test.htm<BR>
The APG script used to generate this file is
C:\TEMP\apgs\test.apg