acls @loop b=button() locate 10,10 ?" " locate 10,10 ?b goto @loop とでもすれば、ボタンが押されれば数字が出るので試すのもよいかと。