Example:
GTM>DO INT^%LCASE String: LABEL Lower: label
This example invokes %LCASE in interactive mode using INT^%LCASE. %LCASE prompts for a string that it converts to all lower case.
Example:
GTM>SET %S="Hello" GTM>do ^%LCASE GTM>zwrite %S="hello"
This example sets the variable %S to the string "Hello" and invokes %LCASE non-interactively to convert the string.
Example:
GTM>SET ^X="Hello" GTM>WRITE $$FUNC^%LCASE(^X) hello
This example sets the variable ^X to the string "Hello" and invokes %LCASE as an extrinsic function that returns "hello" in lower case.