function Y=Xmax() global XMAX Y=XMAX; endfunction