[Gambas-user] [SPAM] Re: OPEN unexpected error
norarg
norarg at ...2311...
Thu Jan 7 01:24:50 CET 2010
hi Charlie
yes, I used 2.13 shipped with ubuntu 9.10 until last week, as I startet
to use the SVN.
thanks - in this way everything works fine :)
saludos
norarg
Am Mittwoch, den 06.01.2010, 22:54 +0100 schrieb Charlie Reinl:
> Am Mittwoch, den 06.01.2010, 18:14 -0300 schrieb norarg:
> > Hi,
> >
> > I have switched over to Gambas 2.99 (3), and can not figure out where I
> > have an error, this worked in ver. 2.13:
> >
> > Dim hf1 As File
> > .
> > .
> > .
> > Open Application.Path & "/Generate/DATAPANEL_FORM.gen_parse" For Read As
> > #hf1
> > .
> > .
> >
> > In this line I get "unexpected open". I have searched around, eventually
> > for a missing component, (stream), but then the dim of hf1 would have
> > caused an error, I presume. I have more Open's, and the error occurs
> > when compiling, not accessing.
> >
> > Please help, stay a bit stucked here.
> >
> > Thanks and regards,
> > norarg
>
> Salut norarg,
>
> your sure that was in 2.13?
>
> http://gambasdoc.org/help/lang/open
>
>
> ' Prints the contents of a text file to the screen
>
> DIM hFile AS File
> DIM sLine AS String
>
> hFile = OPEN "/etc/passwd" FOR INPUT
>
> WHILE NOT Eof(hFile)
> LINE INPUT #hFile, sLine
> PRINT sLine
> WEND
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: face-smile.png
Type: image/png
Size: 873 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20100106/5bd503a6/attachment.png>
More information about the User
mailing list