so sad really. Oh well, in C++ (in which I am not an expert by any means, just a novice) (and I am by no means an expert with PureBasic either - and I ask a lot of stupid questions sometimes) being able to do a boolean is a standard thing. In other languages its a standard thing. 
I read a thread at: 
http://www.purebasic.fr/english/viewtopic.php?t=20594
where it was said it wasn't considered important as it doesn't add any functionality. 
Not being critical, just an observation; Well it doesn't add any functionality in terms of adding a new whiz bang function, but it seems it would add functionality in terms of improving the language. In my way of thinking a product should appeal to the widest base of customers and include things that are competitive with other products that are of the same genre. I think boolean's should be added, but oh well, if they aren't its not the end of the world, but i hate to think that a fast compiled basic language needs to add code to replace or do something thats done with a simple operator everywhere else.
In C++ it's easy to do this:
Code: Select all
if (enable && 0 != ref) ; where enable can be 1 or 0 - and ref can be 1 or 0 or not 1 or 0 but some other value like 2 for example.
In PB this would take a work around with up to several lines of code that might not work with future versions of PB, where as the ability to do this has and will continue to be a standard in C++ (I believe - who knows, all things change eventually). I'd just like to see it in PB. Oh well...maybe one day.
Thanks for the responses folks, i'm gonna give it a whirl 
