// Script function: Loops from 0 to 9 since it will stop at 10.


// Unless named starting with GlobalSino, EM, My, Self, the function commands are defined 
//by Gatan DM, please see at link: http://www.globalsino.com/EM/page2597.html

number EMx;
for(EMx=0; EMx<100; EMx++) 
{
if(EMx==10) break;
result (EMx + "\n")
}