I'm a bit surprised why nobody mentioned signatures:
LanX did, in the very first reply.
Alexander
In reply to Re^2: sub variables by afoken in thread sub variables by Todd Chester