// Script function: Demo of default values, default of x is zero here.

// 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


class GlobalSino: object
{
number x, i

void set_i(object GlobalSino, number i) 
{ 
i = 3*x; 
result (i + "\n\n") 
}
}

object EMObject = alloc (GlobalSino) 
EMObject.set_i(10)

