Opened 3 weeks ago
Last modified 9 days ago
#4062 assigned Feature Request
InetRead() return http_statuscode on error — at Initial Version
| Reported by: | Jpm | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
return it in @extended on @error
#include <MsgBoxConstants.au3>
Example()
Func Example()
Local $dData = InetRead("https://anydesk.com/x")
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $dData = ' & $dData & @CRLF & '>Error code: ' & @error & ' Extended code: ' & @extended & ' (0x' & Hex(@extended) & ')' & @CRLF) ;### Debug Console
; Display the results.
MsgBox($MB_SYSTEMMODAL, "", "Error = " & @error & " extended = " & @extended)
EndFunc ;==>Example
Note: See
TracTickets for help on using
tickets.
