Adding more Logical Operators
#9
(05-21-2022, 08:05 PM)Dimster Wrote: Would it be difficult to add more logical operators to the QB64 language?
I often come across math formulas which use some hieroglyics that I'm constantly looking us to decipher.
When it comes to logical operators I see them so often I sometimes wonder if they may be useful in QB64. For example, a couple of them are:
V means the logical OR, so it would be "A V B" v's "A OR B". The inverted V means AND
 
A pyramid of dots    .    means "THEREFORE", so "HM = M  and S = M    .     S = HM"
                            . .                                                                       .  .
...
Is it too difficult to add more Logical Operators to QB64 math arsenal?

Honestly, I think this would make a lot of people confused. 
Maybe if the IDE had some setting to allow that notation, 
and if the person turned it off in the settings, 
it would automatically convert those statements to the standard QuickBasic notation, 
e.g. "A V B" would be changed back to "A OR B", etc.? 
But that would still mean that there would be source code listings out there in forums and downloadables, 
that use this new notation, and old time QuickBasic users or people who don't want to get into that notation, might find it difficult. 

I guess it comes down to, what do we gain from typing "V" instead of "OR"? 
So we have to type one less character, not that big of a gain. 
And on the downside, it would confuse a lot of people possibly break compatibility. 
Just my 2 cents...
Reply


Messages In This Thread
Adding more Logical Operators - by Dimster - 05-21-2022, 08:05 PM
RE: Adding more Logical Operators - by Dimster - 06-02-2022, 12:47 PM
RE: Adding more Logical Operators - by Dimster - 06-05-2022, 01:03 AM
RE: Adding more Logical Operators - by vince - 06-06-2022, 11:14 PM
RE: Adding more Logical Operators - by Dimster - 06-07-2022, 09:58 PM
RE: Adding more Logical Operators - by madscijr - 06-13-2022, 07:19 PM
RE: Adding more Logical Operators - by madscijr - 06-13-2022, 07:01 PM
RE: Adding more Logical Operators - by madscijr - 06-14-2022, 03:52 AM
RE: Adding more Logical Operators - by madscijr - 06-14-2022, 06:59 PM
RE: Adding more Logical Operators - by madscijr - 06-14-2022, 07:58 PM



Users browsing this thread: 1 Guest(s)