umm you could look in the docs but while i'm here
Rem bbdoc: Open a file for input and/or output. about: This command is similar to the #OpenStream command but will attempt to cache the contents of the file to ensure serial streams such as http: based url's are seekable. Use the #CloseStream command when finished reading and or writing to a Stream returned by #OpenFile. End Rem Function OpenFile:TStream( url:Object,readable=True,writeable=True ) Local stream:TStream=OpenStream( url,readable,writeable ) If Not stream Return If stream.Pos()=-1 Return TBankStream.Create( TBank.Load(stream) ) Return stream End Function