(C3145) Arrays with illegal indices Error In: Correctness Description: Array index expression does not result in an integer or contain elements with illegal type. Example: Case I: Arr2 is an integer array from LeftInd2 to RightInd2. LeftInd2 is defined as: Single, Constant, with Data Type set to None, and definition set to SubDef2 SubDef2 is defined as: Single None Constant with definition set to 2.34 Case II: Arr1 is an integer array from LeftInd to RightInd. LeftInd is defined as: Single, Constant, with Data Type set to None, and definition set to SubDef SubDef is defined as: Single String Constant with definition set to 'My Definition'
Case I:
Case II: