10.5.6.7. ArraySet
10.5.6.7. ArraySet
Explanation | This is used to initialize the designated scope of a variable array to a specific value. In the case of an ID variable array, initialize the array scope of src3–src4 based on the array index of src1. In the case of a V variable array, initialize all scopes of the array. | ||
Syntax | ArraySet <src1>,<src2>,<src3>,<src4> | ||
Parameter | src1 | Array name |
|
src2 | Value to initialize (strings/numbers) |
| |
src3 | Start index of array | V%, LV%, number | |
src4 | End index of array | V%, LV%, number | |
Example | 1. ArraySet V10%, V1%, 3, 5 => Initialize V%[13] – V%[15] to V1%. 2. ArraySet gtTestArr[6],LV$[10],7,12 => Initialize gtTestArr[7] – gtTestArr[12] to LV$[10]. => The array of src1 is [7]. However, ignore it. | ||
Version | Operation after the V40.23-04_20200730 version |