Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Bug Reports
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.

Unable to write Not(valeur=")")...

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-01-2010, 01:51 PM
sitajony's Avatar
Basic4ppc Veteran
 
Join Date: Mar 2010
Location: France
Posts: 416
Awards Showcase
Beta Tester 
Total Awards: 1
Default Unable to write Not(valeur=")")...

Hi, I noticed a bug (I think), When I type twice ")" it return an error like:
Code:
<font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">If Not</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2">(valeur=</font></font></font></font><font face="Courier New"><font size="2"><font color="#800000"><font face="Courier New"><font size="2"><font color="#800000"><font face="Courier New"><font size="2"><font color="#800000">")"</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2">) <font color="#0000ff">Then</font></font></font></font></font>
It return:


And when I type:
Code:
<font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">If </font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">Not</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2">(valeur=</font></font></font></font><font face="Courier New"><font size="2"><font color="#800000"><font face="Courier New"><font size="2"><font color="#800000"><font face="Courier New"><font size="2"><font color="#800000">"a"</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2">) </font></font></font></font><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">Then</font></font></font></font></font></font></font></font></font>
It work perfectly... I think it's a bug and not an error on my code...Thanks for your comments!
Attached Images
File Type: jpg erreur.jpg (37.9 KB, 39 views)
Reply With Quote
  #2 (permalink)  
Old 05-01-2010, 02:44 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

As a workaround you can use:
If Not(valeur=Chr(41)) Then

Best regards.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #3 (permalink)  
Old 05-01-2010, 03:24 PM
sitajony's Avatar
Basic4ppc Veteran
 
Join Date: Mar 2010
Location: France
Posts: 416
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Yes I'm using the ascii code but it's weird that when I type ) it return an error...
Reply With Quote
  #4 (permalink)  
Old 05-01-2010, 03:30 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

I agree with you, I just suggested a workaround.

Best regards.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #5 (permalink)  
Old 05-01-2010, 04:53 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by klaus View Post
As a workaround you can use:
If Not(valeur=Chr(41)) Then
The operator for "not equals" isn't mentioned in the Help as far as I can see but no doubt it is "<>" which would seem just understandable as Not(=).

Mike.
Reply With Quote
  #6 (permalink)  
Old 05-01-2010, 05:41 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,714
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Thanks for reporting. Will be fixed.
Reply With Quote
  #7 (permalink)  
Old 05-01-2010, 06:51 PM
sitajony's Avatar
Basic4ppc Veteran
 
Join Date: Mar 2010
Location: France
Posts: 416
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by mjcoon View Post
The operator for "not equals" isn't mentioned in the Help as far as I can see but no doubt it is "<>" which would seem just understandable as Not(=).

Mike.
I never used, <> for any language... Maybe it's time that I use it...
Reply With Quote
  #8 (permalink)  
Old 05-01-2010, 08:39 PM
Basic4ppc Veteran
 
Join Date: May 2008
Location: Newcastle Upon Tyne - England
Posts: 271
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by mjcoon View Post
The operator for "not equals"... no doubt it is "<>"
It is Mike, I use it all the time - probably from my Psion OPL days
Reply With Quote
  #9 (permalink)  
Old 05-01-2010, 09:25 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Zenerdiode View Post
It is Mike, I use it all the time - probably from my Psion OPL days
Me too (Psion programming), but I also vaguely recollect "=!" (or was it "!="; that reads better) in other languages.

(If I had thought of it I could have taken the name "TunnelDiode", harking back to being a physicist in the 60s. Touché!)

Mike.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Catching the "Shift", "right" & "left" keys linum Questions (Windows Mobile) 3 08-21-2009 01:22 PM
calling the device's "Programs" or "settings" screens karmba_a Questions (Windows Mobile) 3 03-15-2009 05:41 PM
Intelectual copyright for the UK TV game show "The colour of money" on a pocket PC ;- taximania Chit Chat 0 02-21-2009 07:40 PM
"AddEvent" and "buttonUp/buttonDown" Byak@ Questions (Windows Mobile) 12 09-10-2008 03:04 PM
calling the device's "Programs" or "settings" screens HarleyM Questions (Windows Mobile) 0 12-05-2007 02:59 AM


All times are GMT. The time now is 03:58 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0