# TraceOn() hash function
Valid for use with hash command: HMI_Trace
All # Hash_Trace hash commands below this point in the source file will be enabled. The default is On.
Example:
# HMI_Trace TraceOn()
# HMI_Trace Print("This should show")
# HMI_Trace TraceOff()
# HMI_Trace Print("This should NOT show")
# HMI_Trace TraceOn()
# HMI_Trace Print("This should show")
TraceOn/TraceOff can also be used in a single line and work as expected.
# HMI_Trace TraceOn() Print("This should show") TraceOff() Print(" This should NOT show") TraceOn() Print(" This should show") NL()