Yep, that works pretty good for passing types..
On tip though, is that it would be wise/safest to always check in a function that the type passed as a parameter 'is valid' - and not NULL; so:
If localInstance = null then runtimeerror "Empty type passed to DoStuff()!"
D.
On tip though, is that it would be wise/safest to always check in a function that the type passed as a parameter 'is valid' - and not NULL; so:
If localInstance = null then runtimeerror "Empty type passed to DoStuff()!"
D.