types - passing as parameter in function

Blitz3D Forums/Blitz3D Beginners Area/types - passing as parameter in function

Hi big10p

no, I want the new function to be an all purpose function that can be passed any timer and start it running. I have lots of timers and don't want to have to right lots of functions to start them

I just want to be able to pass the name of the timer to a single fuction to do the job

eg. player(1)\gearchange_timer
eg. player(4)\brake_timer
eg. player(2)\spin_timer

;call the function
start_timer ( player(1)\gearchange_timer )

; the single all-purpose function to handle any timer
function start_timer( paramaters )
parameters = millisecs()
end function

sorry if I'm not making myself clear, doh!