For your information: that already exists in FPC. It's called operatoroverloading:http://www.freepascal.org/docs-html/ref/refch12.html#x161-16800012 -- Felipe Monteiro de CarvalhoExcept that you have to code every single case separately, 2x6, 3x10, 4x4x4, etc. You need to write a separate routine for every shape of array you want to use. Frank Rubin
-- ============================= Prof. Harley Flanders 3533 Windemere Court Ann Arbor, MI 48105-2867 Home: 734 668 1546 harley@umich.edu =============================