Incorrect Syntax

Hi

What is wrong i am writing here...Thanks

time_elapsed=lr_end_timer(timer);
if (time_elapsed<1)
{
TimetoWait=1- time_elapsed
lr_think_time("&TimetoWait")