// Script function: convert to binary values

// 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 GlobalSinoA = 1967
number GlobalSinoB = 4

Result( "\n\n")
Result( "\n Binary number A (a 16-bit integer value): " + binary( GlobalSinoA, 16 ) )
Result( "\n Binary number B (a 4-bit integer value): " + binary( GlobalSinoB, 4 ) )