You can use min( and max( tokens to get the min and the max of a list.

E.G :

Create a small list with 3 values :

3->dim(L1

Then put 1,2 and 3 inside list:

1->L1(1

2->L1(2

3->L1(3

Use min on it :

min(L1

And you get :

1

Use max on L1 :

max(L1

ANd we have :

3