-
Notifications
You must be signed in to change notification settings - Fork 4
ClearConsole directive
zero-plusplus edited this page Dec 9, 2021
·
3 revisions
See Debug directive for notes.
This directive clears debug console that were previously displayed. It will not break the script.
This directive has the following syntax.
# Capitalization indicates the part that can be setting
# Only spaces are allowed before directive comment
; @Debug-ClearConsole(CONDITION)[HITCONDITION] => MESSAGE
-
CONDITION
- See Conditional breakpoint -
HITCONDITION
- See Hit conditional breakpoint -
=>
- Output operator-
->
- Outputs theMESSAGE
as it is -
=>
- A line feed code is placed at the end of theMESSAGE
-
->|
or=>|
- The same as for each operator, but it suppresses the automatic removal of leading whitespace
-
-
MESSAGE
- Message to be displayed after clearing. See Log point's Embedding value
Everything after @Debug-ClearConsole
is optional. The following is an example of a valid directive.
; @Debug-ClearConsole
; @Debug-ClearConsole(A_Index == 2)
; @Debug-ClearConsole => console cleared