In Unity pro Index can be :
Example :
SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Scanner_Info[8].PIF.Pattern].CasesPerPallet;
is converted to this code by Unity pro : SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Scanner_InfoDecode_Pallet_PatternsPerPallet;
In order to avoid this, just affect in a temporary variable the value of "Scanner_Info[8].PIF.Pattern" :
Temp_Int := Scanner_Info[8].PIF.Pattern;
SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Temp_Int].CasesPerPallet;
- a value belonging to an Integer type
- an arithmetical expression made up of Integer types
Example :
SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Scanner_Info[8].PIF.Pattern].CasesPerPallet;
is converted to this code by Unity pro : SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Scanner_InfoDecode_Pallet_PatternsPerPallet;
In order to avoid this, just affect in a temporary variable the value of "Scanner_Info[8].PIF.Pattern" :
Temp_Int := Scanner_Info[8].PIF.Pattern;
SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Temp_Int].CasesPerPallet;
Publié pour: Schneider Electric Belgium




Besoin d'aide ?
Sélectionnez le bon produit
Trouvez rapidement et facilement les produits et accessoires adaptés à vos applications.
Obtenir un devis
Effectuez une demande de renseignements en ligne et un expert vous contactera.
Où acheter ?
Trouvez facilement le distributeur Schneider Electric local le plus proche.
Centre d'aide
Trouvez des ressources de support pour tous vos besoins, en un seul endroit.