[Gambas-user] Error in the documentation

Fabien Bodard gambas.fr at ...626...
Fri Aug 28 08:52:32 CEST 2009


it's not an error it's a generic handle name like with form in your
fom class code..


form_open is not the name of your form !

2009/8/27 Pino Zollo <pinozollo at ...626...>:
> HI
> Maybe there is an error in the documentation example of the instruction OPEN.
> -----------------------
> ' Watching a serial port
>
> DIM hFile AS File
>
> hFile = OPEN "/dev/ttyS0" FOR READ WRITE WATCH
>
> ...
>
> PUBLIC SUB File_Read()    <---- hFile_Read()  ??????
>
>  DIM iByte AS Byte
>
>  READ #hFile, iByte
>  PRINT "Got one byte: "; iByte
>
> END
> ----------------------
>
> Saludos
> Pino
>
> --
> Key ID: 0xF6768208
> Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
> Key server: hkp://wwwkeys.eu.pgp.net
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list