[Gambas-user] If condition

Rob sourceforge-raindog2 at ...94...
Sun Mar 7 18:58:27 CET 2004


On Sunday 07 March 2004 11:35, Jack wrote:
> Is anybody can tell me what is wrong about this ?
>   IF Left$(Cdcol.text,2) <> "00" OR Left$(Cdcol.text,2) <>
> "11" THEN message.warning ("  Verifier vos variables
> SVP","OK")

You need AND in both cases.  There is no situation where the 
above would evaluate to false.

Rob





More information about the User mailing list