Examples of %HO

Example:

	GTM>DO INT^%HO
	Hexadecimal:C3
	GTM>ZWRITE
	%HO=303
	

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

Example:

	GTM>SET %HO="C3"
	GTM>DO ^%HO
	GTM>ZWRITE
	%HO=303		
	

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

Example:

	GTM>WRITE $$FUNC^%HO("C3")
	303
	

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