Array/Advanced Output in Expressions

Post requests for new features to this forum group. Any suggestion to expand the possibilities of Ventuz are welcome.

Array/Advanced Output in Expressions

Postby Eric_RD » 08 Jun 2017, 15:24

With the new "multiline-expressions-feature" in Ventuz 5 i often replace simple c# scripts with an expression
I also love the Linq integration in expressions.
linq expressions often output IEnumerables which you can cast to Arrays.
Unfortunately an expression cannot output any advanced Types like Arrays, so I always use String.Join and a string Splitter or Array Indexer behind the expression.
But this is a bit cheesy and might be unsafe, because you have to catch wrong splits.
It would be perfect if you have a generic expression Node where you can select input and output with the same types. Maybe even "object" type like c# scripts.

Grüße, Eric
User avatar
Eric_RD
 
Posts: 56
Joined: 04 Jun 2014, 14:01

Return to Feature Requests

cron