OK, these are not the errors I meant... These are obviously my errors.
I fixed Format$ to be compared against Str$().

There might be other similar errors too...

Jussi



2010/11/15 Benoît Minisini <[email protected]>

> > If Format$(Pi, "#.##") <> 3.14 Then
> > Return 85
> > Endif
> >
> > this test can be true only in country where decimal separator is "."
> >
> >
> > in france ... the decimal separator is ","... then you compare a
> > string to a float !!
> >
> > All the error i have are based on this problem.
> >
>
> The problem is your comparison between a string (Format$) and a number. The
> number is automatically converted to a string by using CStr(), which does
> not
> use localization contrary to Format$().
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> Gambas-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

Attachment: GambasTester-0.9.10.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to