[Gambas-user] Open stream

Hans Lehmann hans at gambas-buch.de
Tue Aug 14 17:30:36 CEST 2018


Hello,

in the documentation I found that at various places:

(1) Open sFileName For Read As #hFile
(2) hFile = Open sFileName For Read

Under http://gambaswiki.org/wiki/lang/open stands:

Stream = OPEN FileName [ FOR [ READ | INPUT ] [ WRITE | OUTPUT ] [ 
CREATE | APPEND ] [ WATCH |]]

Are (1) and (2) valid or is (1) an old version that is (still) valid for 
compatibility reasons?

With kind regards

Hans


More information about the User mailing list