LinkedListFromTextDoc Function

Help Contents

Introduction

The LinkedListFromTextDoc Function creates a LinkedList Data Object from a TextDocument Data Object.

Syntax

Informal Syntax:

LinkedListFromTextDoc( TextDocumentID )

Formal Syntax:

LinkedListFromTextDoc( 
        TextDocumentID:=Expression )

Parameters

The LinkedListFromTextDoc Function has these parameters.

Parameter Type Description
TextDocumentID DINT The identifier of the TextDocument Data Object.

Return Value

The function returns a DINT value representing the LinkedList Object.

Remarks

One entry is added to the LinkedList Data Object for each line in the TextDocument Data Object.

The function reports a runtime error if the TextDocumentID parameter does not refer to a valid TextDocument Data Object.

Standards Compliance

The LinkedListFromTextDoc Function is an extension to the IEC 61131-3 standard.

Further Information

LinkedList Functions

For information about functions to manage LinkedList data objects.

Data Objects

For information about all Data Objects supported by Fernhill SCADA.

IEC 61131-3

To learn how IEC 61131-3 is used in Fernhill SCADA.

Glossary

For the meaning of terms used in Fernhill SCADA.