mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 15:20:18 +00:00
The _StatusCode command returns the status code on the HTTP response when given a HTTP handle from _OpenClient().
8 lines
189 B
QBasic
8 lines
189 B
QBasic
$NOPREFIX
|
|
$Unstable:Http
|
|
|
|
' Important so that `StatusCode()` cannot be an array, ensures that this test
|
|
' fails if `StatusCode()` cannot be called
|
|
Option ExplicitArray
|
|
|
|
Print StatusCode(2)
|