mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
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
|