Function extension:
VAR_IN_OUT variables of a FUNCTION, a FUNCTION_BLOCK or a METHOD can have an ARRAY with variable length. Within the block, you can use the operators UPPER_BOUNDS and LOWER_BOUNDS to determine the bounds of the ARRAY assigned to the VAR_IN_OUT variable:

Contained in which products?
PLC Designer V3.14