My aim is to read the data from text files stored in a precise location on the web.
The information in the files is very simply stored as strings.
I have tried using the code from here: http://www.blitzbasic.com/codearcs/codearcs.php?code=1816
but I keep getting errors, even when using the default example.
It also appears somewhat over complicated for what I am trying to do.
In essence, all I really need is something that can do the following:
Function WebFileHandle%=OpenWebFile$(PathURL$,Filename$)
Function ReadWebInt%(WebFileHandle%)
Function ReadWebString%(WebFileHandle%)
Function ReadWebFloat#(WebFileHandle%)
I understand how carriage returns would need to be checked for, as these take up bytes in the stream being read, but I am very rusty on the whole Peek idea with Short/Long bytes etc.
The information in the files is very simply stored as strings.
I have tried using the code from here: http://www.blitzbasic.com/codearcs/codearcs.php?code=1816
but I keep getting errors, even when using the default example.
It also appears somewhat over complicated for what I am trying to do.
In essence, all I really need is something that can do the following:
Function WebFileHandle%=OpenWebFile$(PathURL$,Filename$)
Function ReadWebInt%(WebFileHandle%)
Function ReadWebString%(WebFileHandle%)
Function ReadWebFloat#(WebFileHandle%)
I understand how carriage returns would need to be checked for, as these take up bytes in the stream being read, but I am very rusty on the whole Peek idea with Short/Long bytes etc.