User-defined data types are usually convenient when you would otherwise
have multiple arrays of varying type to contain data about a item, like
a String name, a Long quantity, a floating point value for cost , ...
For just containing two items of like type (e.g., height and width),
you'd be as well served with a 2D array.
--
shg
------------------------------------------------------------------------
shg's Profile:
http://www.thecodecage.com/forumz/member.php?userid=13
View this thread:
http://www.thecodecage.com/forumz/sh...ad.php?t=30597