Question: infinite while loop

I want to print A with 2 seconds interval from the moment I call x:=true until the moment I call x:=false.

How can this be done in Maple ?

Please Wait...