TaskStrings Parameter

Default Value: 32

Minimum Value: 0

Maximum Value: 8192

Units: Strings

Type: int

The TaskStrings parameter specifies the total number of task string variables ($stask[]) that are available to the task for which this parameter is set. You can use these variables to share information between iterations of a program that are running on the same task.

Each task string variable uses 256 bytes of available memory. This string must be null-terminated, which makes 255 bytes of memory available for string characters. Each multi-byte Unicode character that you use will also consume multiple bytes of the 255-byte buffer.

When this parameter has a nonzero value and the corresponding task is enabled, controller memory is allocated for each task variable. For more information about enabled tasks, see the Tasks Category.