BlitzMax Docs -> 2D - A-Z -> R -> ReadStream
ReadStream:TStream( url:Object )
Returns:A stream object
Description:Open a stream for readingAll streams created by OpenStream, ReadStream or WriteStream should eventuallybe closed using CloseStream.
' readstream.bmx ' opens a read stream to the blitzbasic.com website and ' dumps the homepage to the console using readline and print in=ReadStream("http::blitzbasic.com") If Not in RuntimeError "Failed to open a ReadStream to file http::www.blitzbasic.com" While Not Eof(in) Print ReadLine(in) Wend CloseStream in
BlitzMax Manual Forum
Blitz3D Equivalent Command
|Frosty Beverage Fund|