Using delegates as function parameters

I agree with Mad.King about this being a ridiculous workaround, but you just blew my mind with this post and I will be using this many times. Thank you!!!