How to use applyComponents in 16.3 with more than one parameter?

Hello!

I got strange error in a rule with this function. When I try to pass more than one parameter to the function I got error message

"Interface Definition: Expression evaluation error at function rule!sz_oneFieldSection [line 7]: Rule 'sz_onefieldsection' has 2 parameters, but instead passed 1 parameters."

If I remove second parameter from the inner rule it works fine, but I need more than one parameter to be passed. I also tried to use rule!sz_oneFieldSection(p1:_, p2:_) and array: merge(enumerate(5),enumerate(5)), but it produces the same error message.

a!applyComponents(
function: rule!sz_oneFieldSection(
p1: _,
p2: 5
),
array: enumerate(5)
)

 

 

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data