Hur kan vi hjälpa dig idag?

Index issue due after conversion from Modsfoft, Proworx or Concept application in Unity Pro.

In Unity pro Index can be :
  • a value belonging to an Integer type
  • an arithmetical expression made up of Integer types
But cannot contain an other indexed variable, in this case a tempory variable will have to be created and used .

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;

Schneider Electric Sverige

Utforska mer

Behöver du hjälp?

Produktväljare

Hitta snabbt och enkelt rätt produkter och tillbehör för dina ändamål.

Begär en offert

Ställ din fråga online så kontaktar vi dig.

Här köper du

Hitta enkelt närmaste Schneider Electric-distributör på din ort.

Hjälpcenter

Hitta alla supportresurser som du behöver på ett ställe.