[Gambas-user] Gambas3 can't read single datatype from file.

Benoît Minisini gambas at ...1...
Mon Jan 3 20:37:48 CET 2011


> Hi Benoit.
> While trying to read binary file I found that reading the single datatype
> from file gives me constant value of 00E-312, no matter what is in the
> file, while it works fine in Gambas2. Am I doing something wrong?
> 
>  Read #model_file, s       's is declared with -  Dim s As Single
> 
> All other datatypes seem to work fine.
> 
> Regards Tomasz (Tommyline)
> 

It works there. Are you sure that you use the latest revision? If you are, 
then please provide a little example project.

Regards,

-- 
Benoît Minisini




More information about the User mailing list