// Script function: Buld an overloading function

// 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


void EMfunc(number i) // one integer parameter
{
result ("In EMfunc( ), i is " + i + "\n")
}

void EMfunc(number i, number j) // two integer parameters
{
result ("In EMfunc( ), i is " + i + "\n")
result ("In EMfunc( ), j is " + j + "\n\n")
}

EMfunc(10); // Call EMfunc(number i)
EMfunc(15, 20); // Call EMfunc(number i, number j)

