Home
Screenshots
Showcase
Features
Download
Purchase
Online Community
Documentation
Contact Us
Download the free trial version
Features
Tutorials and manuals
Showcase
Screenshots
Android Development Forum - Basic4android
>
Basic4ppc (Windows Mobile)
>
Basic4ppc Wishlist
Boolean evaluation
User Name
Remember Me?
Password
Documentation Wiki
Register
Members List
B4P Search
Today's Posts
Mark Forums Read
Basic4ppc Wishlist
Missing any feature?
Boolean evaluation
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
11-27-2010, 10:39 AM
jerryb
Newbie
Join Date: Oct 2010
Posts: 4
Boolean evaluation
I'd like to be able to do...
'bval is boolean
bval = (bval = false)
... as a quick way of flipping between true and false. It seems to work with other Basic implementations but not with Basic4ppc.
#
2
(
permalink
)
11-27-2010, 11:47 AM
klaus
Basic4ppc Expert
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Total Awards
: 3
This looks very strange to me.
bval = (bval = false)
You should use
bval = Not(bval)
Best regards.
__________________
Klaus
Switzerland
Beginner's Guide
/
User's Guide
#
3
(
permalink
)
11-27-2010, 12:53 PM
jerryb
Newbie
Join Date: Oct 2010
Posts: 4
That never occcured to me! I'd always used
bval=bval=true
in VB without thinking about it. Your method is elegant and simple and I'm ashamed it never occured to me.
Delete one wishlist request!
Regards and thanks.
#
4
(
permalink
)
05-20-2011, 10:11 PM
NeoTechni
Basic4ppc Veteran
Join Date: May 2011
Posts: 412
I do
bval = not bval
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
Boolean variable type
klaus
Beta Versions
1
03-10-2010
06:27 PM
Boolean problem
agraham
Beta Versions
8
02-28-2010
05:42 PM
reverse boolean?
RB Smissaert
Questions (Windows Mobile)
5
03-31-2009
04:01 PM
A sample for arithmetical expression evaluation
coldraymagic
Share Your Creations
4
01-22-2009
06:58 AM
Sub name evaluation
Cableguy
Questions (Windows Mobile)
4
09-30-2008
09:52 AM
All times are GMT. The time now is
02:32 PM
.
Contact Us
-
Basic4android - Android programming
-
Top
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by
vBSEO
3.3.0
LinkBack
LinkBack URL
About LinkBacks