Field-Map Scripting

4.1.11.4.5 WriteVariant

WriteVariant procedure


Prototype:

procedure WriteVariant (const Name : string, Value : variant);

Description:

Adds variant field to XML output and fills it with desired data content.

Syntax:

TXmlOutputWrapper.WriteVariant(Name, Value);


Part

Description


TXmlOutputWrapper

Variable declared as a instance of TXmlOutputWrapper


Name

Title of the field


Value

Data to be filled into the field







Return value:

none

                               



See also:

CreateXMLOutput; WriteComment; WriteString; WriteInteger; WriteVariant; WriteFloat; WriteBoolean; WriteDate; WriteDateTime; WriteDateTimeAsInt64; WriteDateTimeAsInt64WithMiliseconds; AddTableData; AddLayerDate; BeginDocumentAttrs; BeginElementAttrs; EndAttrs; EndElement; EndDocument; FreeXMLOutput; CreateXMLOutputFile


Example