variables numeric I endvariables I = 1024 while (I > 0) putmess I I = (I/2)[trunc] endwhile