
// Script function: logical operator of XOR. 

// 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 EMXOR(number EMa, number EMb)
{
return (EMa || EMb) && !(EMa && EMb)
}
number GlobalSinoc = 1
number GlobalSinod = 0
result ("a XOR b is: " + EMXOR(GlobalSinoc, GlobalSinod))
result ("\n\n")

