Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/HTTP/BBC-BASIC/http.basic
Normal file
9
Task/HTTP/BBC-BASIC/http.basic
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
SYS "LoadLibrary", "URLMON.DLL" TO urlmon%
|
||||
SYS "GetProcAddress", urlmon%, "URLDownloadToFileA" TO URLDownloadToFile
|
||||
|
||||
url$ = "http://www.bbcbasic.co.uk/aboutus.html"
|
||||
file$ = @tmp$ + "rosetta.tmp"
|
||||
SYS URLDownloadToFile, 0, url$, file$, 0, 0 TO fail%
|
||||
IF fail% ERROR 100, "File download failed"
|
||||
|
||||
OSCLI "TYPE """ + file$ + """"
|
||||
Loading…
Add table
Add a link
Reference in a new issue