#

# LogiView

## Command 'trace'

| This command activates or deactivates the LogiView trace mode.
| This command must not be called with a conditional instruction.
| ### Syntax:
| trace({TRUE|FALSE})
| ### I/O parameters:
| {TRUE|FALSE} |
TRUE | Activates the trace mode.
FALSE | Deactivates the trace mode.
| - |
| ### Return value:
| - |
| ### Example:
| Declaration of Variables
     10 ask(DOCU_LOGIK_1,"Select trace mode?")
     20 if ( DOCU_LOGIK_1 == TRUE )
     30  trace(TRUE)
     40  put("Trace mode started!")
     50 else
     60  trace(FALSE)
     70  put("Trace mode stopped!")
     80   endif
| Result:
| Functions and commands: Other Functions and Commands