Examples of %OH

Example:

	GTM>DO INT^%OH
	Octal:16
	GTM>ZWRITE
	%OH="E"
	

This example invokes %OH in interactive mode using INT^%OH. %OH prompts for an octal number that it converts to a hexadecimal number. ZWRITE displays the contents of the variable.

Example:

	GTM>SET %OH=16
	GTM>DO ^%OH
	GTM>ZWRITE
	%OH="E"	
	

This example sets the read-write variable %OH to 16 and invokes %OH to convert the value of %OH non-interactively. ZWRITE displays the contents of the variable.

Example:

	GTM>WRITE $$FUNC^%OH(16)
	E
	

This example invokes %OH as an extrinsic function with the FUNC label.