Skip to content

WriteData - cWebAspClassicObject

Like WriteHtml, except it is used to output data by an address pointer

Type: Procedure

Parameters

Parameter Type Description
pData Address Pointer to address of data to access

Syntax

Procedure WriteData Address pData

Call Example

Send WriteData pData

Description

The WriteData message is like WriteHtml, except it is used to output data by an address pointer. This allows output of long data and is designed to be used with XML output.

Example

Get paXML of hoXML to pXML  // returns XML document via a pointer - can be real big
Send WriteData pXML               // output document to ASP by pointer
Move (Free(pXML)) to bOk        // when done, you MUST dispose of the memory yourself!!!