mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 03:14:45 +00:00
445408d95b
Passing a handle of the invalid type (Ex. TCP) to _StatusCode should give error 52, but it gies error 9.
11 lines
167 B
QBasic
11 lines
167 B
QBasic
$Console:Only
|
|
ON ERROR GOTO errorhand
|
|
|
|
h& = _OpenClient("https://www.example.com")
|
|
Print h&
|
|
|
|
System
|
|
|
|
errorhand:
|
|
PRINT "Error:"; ERR; ", Line:"; _ERRORLINE
|
|
RESUME NEXT
|