Services (Worker)

Syntax

<Path>.Services:array[]

The attribute Services sets or returns the names of the Services that the Worker designated by <Path> provides.

Note:

The name of the service is not case-sensitive, just like the names of attributes and methods of the objects are not case-sensitive.

To save memory and improve access speed, all places which use such an case-insensitive string point to the same string in main memory. The visible and unexpected result is that the first occurrence of the string defines how the string is written in terms of upper- and lower-casing.

In SimTalk you can compare strings in an case-insensitive manner with the == operator, compare Relational Operators.

Data Type of the Value You Can Assign

You can assign an array of data type string.

Example

var a : string[] := ["Job1", "Job2", "Job3"]
.Resources.MyWorker:1.Services := a
print .Resources.MyWorker:1.Services