I'm wondering if there is syntax to build an interval inside a function. For instance, I have a list and I want to remove the first and last items. I can do this with a handful of components (list length, subtract, build interval, subset), but it would keep things less crowded if I could just write an expression something like:
{1, x-2}
This gives me a 2-item list with the right numbers in it, but it isn't an interval, and is rejected by the SubSet component.
A script component would do the trick, but I'm trying to keep things simple...
Tags: