Unfortunately, multitasking isn't possible, so you'll have to put everything in a loop somehow. Are you trying to call a function from a function?