Resizing an array of topological variable leads to lose initial values and comments associated to the element
Goals and Symptoms
If you use an array (ex : MyArray : ARRAY[0..9] OF EBOOL) with comments and/or initial values for the elements of the array, at the moment you will resize the array (ex: ARRAY[0..10] OF EBOOL) you will lose all the comments and initial values of the elements.
Causes and Fixes
The workaround is to use DDT array. Define an array in DDT tab of DataEditor, and after create instances of this type. Then if you resize the type you will not lose the comment of the instance.
Legacy KB System (APS) Data: RESL172274 V2.0, Originally authored by on , Last Edited by on
Related ranges: Unity Pro
Gepubliceerd voor: Schneider Electric Belgium


Hulp nodig?
Selecteer zelf het juiste product
Vind snel en eenvoudig de juiste producten en toebehoren voor uw toepassingen.
Offerte aanvragen
Dien uw aanvraag online in en een expert zal contact met u opnemen.
Verkooppunten
Vind eenvoudig de dichtstbijzijnde distributeur van Schneider Electric op uw locatie.
Help Center
Vind de antwoorden die u nodig heeft via bladeren door veelgestelde vragen over onderwerpen.