Login Page - Create Account

Support Board


Date/Time: Fri, 10 Jan 2025 20:49:39 +0000



Post From: Error in published documentation

[2016-09-26 14:03:51]
Guilherme - Posts: 66
There are errors on page Working with ACSIL Arrays and Understanding Looping , section Array Indexing and Sizes . The index positions are wrong in many parts. For example

The sc.BaseData[][] arrays have 2 indexing operators ([]). The second operator is for accessing the individual values within the specified chart Base Data array. The first element starts at 0, and the last element is sc.ArraySize -1. Examples: sc.BaseData[SC_LAST][0] , sc.BaseData[SC_LAST][sc.ArraySize-1]. The first element is the leftmost bar in the chart.