[Gambas-user] Open stream

Benoît Minisini g4mba5 at gmail.com
Tue Aug 14 18:16:24 CEST 2018


Le 14/08/2018 à 17:30, Hans Lehmann a écrit :
> 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
> 
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> 

Only the syntax (2) is valid now.

Regards,

-- 
Benoît Minisini


More information about the User mailing list