drl_report_line(option)
Features
This command is used to turn ON / OFF the execution line display function when the DRL script is running. When the run line display function is turned OFF, the time required to execute the run line display function is reduced, which significantly speeds up the execution of the DRL.
Caution
The following features do not operate in the section where the execution line display function is turned OFF.
- Execution time display by line
- Variable monitoring
- System Variable Update
- Step by Step in Debug mode
- Brake Point in Debug mode
Parameter
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
option | Int | - | Whether to display the DRL execution line ON(1) OFF(0) |
Return
Value | Description |
---|---|
None | - |
Example
x=0
y=0
drl_report_line(OFF) # Execution line display function OFF
while x < 1000: # Execution line not displayed (speed up execution)
x += 1 # Execution line not displayed (speed up execution)
drl_report_line(ON) # Execution line display function ON
x=0 # Execution line shown
y=0 # Execution line shown