// Script function: Demo of call-by-value method for passing arguments

// 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 EMsquare(number EMx)
{
EMx = EMx*EMx;
return EMx;
}

number t=10
result (EMsquare(t) + "\n\n");

