[Gambas-user] Issue 489 in gambas: One more LIKE operator bug

gambas at ...2524... gambas at ...2524...
Mon Dec 30 15:31:08 CET 2013


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




More information about the User mailing list