Dear All,

I am looking for a solution to find maximum and minimum numbers stored in a local/global macro. For example, I define a local as follows:
Code:
local x 1 2 3 4 5 9
I want to store maximum value of above list (i.e. 9) in another local as follows:
Code:
local y = max(`x')
Kindly help me do this.

Best
Amit