# Template Procedures

**URL:** <https://forums.apparance.uk/t/template-procedures/81>\
**Category:** Archive\
**Created:** [14 February 2022 14:34 UTC](https://forums.apparance.uk/t/template-procedures/81 "2022-02-14T14:34:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KalevTait](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@KalevTait](https://forums.apparance.uk/u/KalevTait)\
**Post date:** [14 February 2022 14:34 UTC](https://forums.apparance.uk/t/template-procedures/81/1 "2022-02-14T14:34:16Z")

</div>

I’d like a way to make procdures that are agnostic about some of the types that are being used within them, and then be able to easily instantiate version of them. I’m currently making a Switch procecdure, and I first made an object switch, and now I’m doing an int switch - later I suspect I may want a float switch. I guess just having switch procedures would solve much of this, but I suspect there will be other problems for which I’d like to be able to easily create ‘all’ types rather than each individually.

---

<div class="post-metadata">

**Author:** ![sam](https://dub1.discourse-cdn.com/flex013/user_avatar/forums.apparance.uk/sam/32/8_2.png) [@sam](https://forums.apparance.uk/u/sam)\
**Post date:** [15 February 2022 09:32 UTC](https://forums.apparance.uk/t/template-procedures/81/2 "2022-02-15T09:32:01Z")

</div>

This is unfortunately not possible with the current IO implementation, but for the hard-coded operators they can perform ‘passthrough’ of connections without knowing the type, allowing re-use of the functionality. They do still need to be different operators though. The multi-input amalgamation work I need to do soon will help this and as part of it I’ll be adding a Select operator.
