About CRC calculation

I am interesting in using the opto-script function 'GenerateForwardCrc16OnString’
In 1701 document (and Help also) I see the next example of applying this function:

[B]POSITION = GenerateForwardCrc16OnString(0, MSG_TO_SEND);
This is a function command; it returns the forward CRC. The returned value can be consumed by a variable (as shown) or by another item, such as a mathematical expression or a control structure. [/B]

Why return value is named [B]POSITION[/B]? Is it really the offset in the string where the function places CRC been calculated?
Thanks.

Hi cskcsk,
Good question, that should be called something different (like VALUE or RESULT, perhaps). I’ll let our documentation experts know so we’ll do better on the next version.
Thanks!
-OptoMary