You might consider introducing classes such as MaterType and (since I guess there's more than only text) TextType. The way you structure your data suggests you're thinking of it as objects, so why not go all the way?
Just my 2 cents, -gjb-
In reply to Re: Too Hash Happy?
by gjb
in thread Too Hash Happy?
by SmokeyB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |