Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

HTMLAddSegment Function

Overview

The HTMLAddSegment function adds a segment of HTML code from another writer object, Pool Object or from a simple string. The code is assumed to be coded correctly and is not altered as it is added to the HTML Writer Object.

Syntax/Parameters

Syntax

int = HTMLAddSegment ( handle hObject, handle hSource | string html );

Parameters

hObject

A handle to an HTML Writer Object. This is the destination object.

hSource

A handle to an HTML Writer Object or a Pool Object as the source for the data to add. If a handle is provided then the html parameter cannot be provided.

html

A string containing data to add to the HTML Writer Object. When this parameter is used, the hSource parameter cannot be provided.

Return Value

An int containing a formatted error code, ERROR_NONE (0) for no error.

Remarks

The source material can be located in a string, pool or another writer object. The data is copied in verbatim and must therefore already be formatted as acceptable HTML.

No accommodations are made for conforming line endings.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic