Status: New
Owner: ----
Labels: Version-3.5.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 489 by krisztiankende: One more LIKE operator bug
http://code.google.com/p/gambas/issues/detail?id=489

The following code output is incorrect:

   TextBox1.Text = "alma"

   If True And TextBox1.Text Not Like "a*" Then Print True Else Print False

Output: True (Should be False.)

But the following is good:

   If True And If TextBox1.Text Not Like "a*" Then Print True Else Print  
False

Otput: False

And if I use string:

   Dim almatext As String

   TextBox1.Text = "alma"
   almatext = TextBox1.Text

   If True And almatext Not Like "a*" Then Print True Else Print False

Output: False

I use Gambas 3.5.1 on Ubuntu 13.10 (amd64).

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to