CODE:int x[3],y[3];
x[0]=300; y[0]=300;
x[1]=400; y[1]=400;
x[2]=100; y[2]=100;
sort(#x[0], #y[0], 3);
messagebox(format(x[0]) + " " + format(y[0]));
messagebox(format(x[1]) + " " + format(y[1]));
messagebox(format(x[2]) + " " + format(y[2]));
messagebox("");
sort(">", #x[0], #y[0], 3);
messagebox(format(x[0]) + " " + format(y[0]));
messagebox(format(x[1]) + " " + format(y[1]));
messagebox(format(x[2]) + " " + format(y[2])); |