The only other way I could think of was to have a Global type handle which I set before calling the function - like having a global function param. Yuck!
Unfortunately, I don't really have the option of duplicating the function for different amounts of params because it contains a large Select/Case for initializing types to presets. Duplicating this and remembering to keep them in sync would be a real pain.
I just can't think of a reason why Null isn't a constant. :/
Unfortunately, I don't really have the option of duplicating the function for different amounts of params because it contains a large Select/Case for initializing types to presets. Duplicating this and remembering to keep them in sync would be a real pain.
I just can't think of a reason why Null isn't a constant. :/