// Script function: Demo of erroes in the use of alloc, class and passing Objects to Functions.

// 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 i

void out_i(object GlobalSino)
{
result (i + "\n") 
}
}

object EMObjectH = alloc (GlobalSino)
EMObjectH.out_i(100)


