Thanks for your help you two. I had a feeling soja's talk about passing the type instance into the function as a paremeter would work, and it did! Thanks, soja. I didn't know Types could be declared as local and global the same as variables.
I'll give Syntax Error's advice a shot though, since it'd be a waste to ignore it since he obviously spent a bit of time typing it out. Plus it'll make me feel more confident about types in general.
Thanks once again!
I'll give Syntax Error's advice a shot though, since it'd be a waste to ignore it since he obviously spent a bit of time typing it out. Plus it'll make me feel more confident about types in general.
Thanks once again!