!procedure ($list)

0 votes
asked 6 days ago in Wanted features by emalware (140 points)
can I send a list of items to a !procedure

1 Answer

0 votes
answered 5 days ago by The-Lu (36,540 points)

Hello E.,

Yes, you can, using JSON variable, as:

!$list={
    "elements": ["A", "B", "C", "D", "..."]
}
$procedure($list.elements)

See another example here:

And the doc. about JSON Processing here:

If that can help,
Regards,
Th.

commented 5 days ago by emalware (140 points)
yeap, I did exactly this. as a workaround thanks for sharing. I also tried a direct JSON array but, didnt work

I mean something like this, which is also a valid JSON format
https://codebeautify.org/jsonviewer/cb309f1c
...