Does QB64pe already have a function like IFF ?
#10
Hi Charlie what does BAM do here?
Code: (Select All)
Boolean = (7 < 8) ' this is a boolean expression NOT a string! that evaluates to 1 or -1
Print Boolean

Boolean = (7 > 8) '  this is a boolean expression NOT a string! that evaluates to 0
Print Boolean
I ask because IFF typically takes a numeric expression that evaluates to "True" or "False" numerically -1 or 1 and 0 for false.

mnrvovrfc had it setup correctly, I don't see where you are inferring a string expression for the first parameter.
b = b + ...
Reply


Messages In This Thread
RE: Does QB64pe already have a function like IFF ? - by bplus - 06-05-2023, 04:26 PM



Users browsing this thread: 9 Guest(s)