Check for True to return True...
-
Found myself coding something like the following just last week... :doh:
Dim bool as Boolean = False
If someExpression Then
bool = True
Else
bool = False
End IfIf bool Then
Return True
Else
Return False
End IfLuckily I noticed just in time and simply Returned someExpression X| Some days its better to just stay in bed...
It's an OO world.
-
Found myself coding something like the following just last week... :doh:
Dim bool as Boolean = False
If someExpression Then
bool = True
Else
bool = False
End IfIf bool Then
Return True
Else
Return False
End IfLuckily I noticed just in time and simply Returned someExpression X| Some days its better to just stay in bed...
It's an OO world.
-
Not at this level ;)
It's an OO world.
-
Not at this level ;)
It's an OO world.
-
I meant I shouldn't be learning how to return true or false depending on a variable's true or falseness which depends on an expressions true or falseness on which it should not depend at all, which would be false if you just started out, but true after almost a year of programming :sigh: Just true with me ;)
It's an OO world.
-
I meant I shouldn't be learning how to return true or false depending on a variable's true or falseness which depends on an expressions true or falseness on which it should not depend at all, which would be false if you just started out, but true after almost a year of programming :sigh: Just true with me ;)
It's an OO world.
Naerling wrote:
I meant I shouldn't be learning how to return true or false depending on a variable's true or falseness which depends on an expressions true or falseness on which it should not depend at all, which would be false if you just started out, but true after almost a year of programming
Ok... I definitely like that :laugh:
(yes|no|maybe)*
modified on Friday, July 1, 2011 5:13 AM
-
I meant I shouldn't be learning how to return true or false depending on a variable's true or falseness which depends on an expressions true or falseness on which it should not depend at all, which would be false if you just started out, but true after almost a year of programming :sigh: Just true with me ;)
It's an OO world.
-
I meant I shouldn't be learning how to return true or false depending on a variable's true or falseness which depends on an expressions true or falseness on which it should not depend at all, which would be false if you just started out, but true after almost a year of programming :sigh: Just true with me ;)
It's an OO world.
Naerling wrote:
falseness
Falacy? Falaciousness? Falacio? :confused:
-
Naerling wrote:
falseness
Falacy? Falaciousness? Falacio? :confused:
false [fawls] Show IPA adjective, fals·er, fals·est, adverb –adjective 1. not true or correct; erroneous: a false statement. 2. uttering or declaring what is untrue: a false witness. 3. not faithful or loyal; treacherous: a false friend. 4. tending to deceive or mislead; deceptive: a false impression. 5. not genuine; counterfeit. 6. based on mistaken, erroneous, or inconsistent impressions, ideas, or facts: false pride. 7. used as a substitute or supplement, especially temporarily: false supports for a bridge. 8. Biology . having a superficial resemblance to something that properly bears the name: the false acacia. 9. not properly, accurately, or honestly made, done, or adjusted: a false balance. 10. inaccurate in pitch, as a musical note. –adverb 11. dishonestly; faithlessly; treacherously: Did he speak false against me? —Idiom 12. play someone false, to betray someone; be treacherous or faithless. Origin: before 1000; Middle English, Old English fals < Latin falsus feigned, false, orig. past participle of fallere to deceive; reinforced by or reborrowed from Anglo-French, Old French fals, feminine false < Latin —Related forms false·ly, adverb false·ness, noun half-false, adjective qua·si-false, adjective qua·si-false·ly, adverb —Synonyms 1. mistaken, incorrect, wrong, untrue. 2. untruthful, lying, mendacious. 3. insincere, hypocritical, disingenuous, disloyal, unfaithful, inconstant, perfidious, traitorous. 4. misleading, fallacious. 5. artificial, spurious, bogus, forged. False, sham, counterfeit agree in referring to something that is not genuine. False is used mainly of imitations of concrete objects; it sometimes implies an intent to deceive: false teeth; false hair. Sham is rarely used of concrete objects and usually has the suggestion of intent to deceive: sham title; sham tears. Counterfeit always has the implication of cheating; it is used particularly of spurious imitation of coins, paper money, etc. Falseness! :D
It's an OO world.
-
false [fawls] Show IPA adjective, fals·er, fals·est, adverb –adjective 1. not true or correct; erroneous: a false statement. 2. uttering or declaring what is untrue: a false witness. 3. not faithful or loyal; treacherous: a false friend. 4. tending to deceive or mislead; deceptive: a false impression. 5. not genuine; counterfeit. 6. based on mistaken, erroneous, or inconsistent impressions, ideas, or facts: false pride. 7. used as a substitute or supplement, especially temporarily: false supports for a bridge. 8. Biology . having a superficial resemblance to something that properly bears the name: the false acacia. 9. not properly, accurately, or honestly made, done, or adjusted: a false balance. 10. inaccurate in pitch, as a musical note. –adverb 11. dishonestly; faithlessly; treacherously: Did he speak false against me? —Idiom 12. play someone false, to betray someone; be treacherous or faithless. Origin: before 1000; Middle English, Old English fals < Latin falsus feigned, false, orig. past participle of fallere to deceive; reinforced by or reborrowed from Anglo-French, Old French fals, feminine false < Latin —Related forms false·ly, adverb false·ness, noun half-false, adjective qua·si-false, adjective qua·si-false·ly, adverb —Synonyms 1. mistaken, incorrect, wrong, untrue. 2. untruthful, lying, mendacious. 3. insincere, hypocritical, disingenuous, disloyal, unfaithful, inconstant, perfidious, traitorous. 4. misleading, fallacious. 5. artificial, spurious, bogus, forged. False, sham, counterfeit agree in referring to something that is not genuine. False is used mainly of imitations of concrete objects; it sometimes implies an intent to deceive: false teeth; false hair. Sham is rarely used of concrete objects and usually has the suggestion of intent to deceive: sham title; sham tears. Counterfeit always has the implication of cheating; it is used particularly of spurious imitation of coins, paper money, etc. Falseness! :D
It's an OO world.
I still prefer falacio.
-
I still prefer falacio.
-
Found myself coding something like the following just last week... :doh:
Dim bool as Boolean = False
If someExpression Then
bool = True
Else
bool = False
End IfIf bool Then
Return True
Else
Return False
End IfLuckily I noticed just in time and simply Returned someExpression X| Some days its better to just stay in bed...
It's an OO world.
-
Found myself coding something like the following just last week... :doh:
Dim bool as Boolean = False
If someExpression Then
bool = True
Else
bool = False
End IfIf bool Then
Return True
Else
Return False
End IfLuckily I noticed just in time and simply Returned someExpression X| Some days its better to just stay in bed...
It's an OO world.