In ST, the function is called as follows:
out := SPLIT_LDATE(IN:LDATE, YEAR=>ANY_INT, MONTH=>ANY_INT, DAY=>ANY_INT);
All parameters have to be specified in the exact order. The IN parameter has to be passed non-formal (without specification of the formal parameter name). The output parameters YEAR, MONTH, and DAY have to be passed formal, i.e., the formal parameter name must be explicitly specified.
Example:
out := SPLIT_LDATE(LDATE#2016-11-14, YEAR=>myYearVar, MONTH=>myMonthVar, DAY=>myDayVar); (* results in myYearVar = 2016, myMonthVar = 11, myDayVar = 14 *)