Sei sulla pagina 1di 1

A value indicating how warnings should be delivered. If omitted, it defaults to MsgBox.

MsgBox: Show a message box describing the warning. Note that once the message box is
dismissed, the script will continue as usual.
StdOut [v1.1.04+]: Send a description of the warning to stdout (the program's standard output
stream), along with the filename and line number. This allows fancy editors such as SciTE to
capture warnings without disrupting the script - the user can later jump to each offending line via
the editor's output pane.
OutputDebug: Send a description of the warning to the debugger for display. If a debugger is
not active, this will have no effect. For more details, see OutputDebug.
Off: Disable warnings of the given WarningType.
Remarks
#AllowSameLineComments
Removed in v1.1.09: AutoIt scripts are no longer supported.
Only for AutoIt v2 (.aut) scripts: Allows a comment to appear on the same line as a command.
#AllowSameLineComments
Specifying this directive at the top of any AutoIt v2 (.aut) script will enable the use of same-line
comments, which are normally disabled for compatibility reasons. If not used at the top of the
script, same-line comments are not supported above the point where the directive occurs.
Example
#AllowSameLineComments
Sleep, 1 ; This comment is a same-line comment.

Potrebbero piacerti anche