Ok, i added the include to the top, and heres the code to call it, what should go in the place of the ???.


function robotswitch()
{
while (key_any) {wait (1); }
??????????????
}

i tried what i thought should go there, but it didnt work.


Sorry, im new. I have a tendency to ask really simple questions, so please be patient.