CreateAssertionErrorMessageNonEqualArrayBounds (FUN)ΒΆ
FUNCTION CreateAssertionErrorMessageNonEqualArrayBounds
Helper function to create an error message for non-equal bounds of an array.
- InOut:
Scope
Name
Type
Comment
Inout
wsAssertErrorWSTRING(Constants.WSTRING_LENGTH)Input
diExpectedBoundDINTthe upper or lower bound of the reference array
diActualBoundDINTthe upper or lower bound of the actual array
xIsLowerBoundBOOLif set to
TRUEthe error message containsLower boundsotherwiseUpper boundsdiDimensionDINTthe dimension in which the bounds differ