Skip to content

Commit a39dcf0

Browse files
authored
Update 006-DownloadDemo.au3
1 parent 04dd4c8 commit a39dcf0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

examples/006-DownloadDemo.au3

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,8 @@ Volatile Func __UserEventHandler__OnAcceleratorKeyPressed($oWebV2M, $hGUI, $oArg
151151

152152
$oArgs = 0 ; Explicitly release the COM reference inside the volatile scope
153153
EndFunc ;==>__UserEventHandler__OnAcceleratorKeyPressed
154+
155+
Func __Example_Log($s_ScriptLineNumber, $sString, $iError = @error, $iExtended = @extended)
156+
ConsoleWrite(@ScriptName & ' SLN=' & $s_ScriptLineNumber & ' [' & $iError & '/' & $iExtended & '] ::: ' & $sString & @CRLF)
157+
Return SetError($iError, $iExtended, '')
158+
EndFunc ;==>__Example_Log

0 commit comments

Comments
 (0)