toString

[ Function ]

public toString();

Serializes the symbol expression as a string.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

string

Symbol expression

toString 1:

Available from version 1.10

Sample - JavaScript

var symbolExpression = new TcHmi.SymbolExpression('%i%MySymbol[0]::A::B%/i%');
var str = symbolExpression.toString();
console.log(str); // %i%MySymbol[0]::A::B%/i%