You know, the right way to do this is to build a module to do it. If you limited it to the simple case you describe, it'd be easy. If you did the more general case of n-dimensions and arbitrary data types, it'd be a good addition to the source base.
Greg
