Click here to Skip to main content
15,891,529 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: if vs. if and only if (iff) Pin
den2k8818-Feb-21 5:14
professionalden2k8818-Feb-21 5:14 
GeneralRe: if vs. if and only if (iff) Pin
#realJSOP18-Feb-21 5:40
mve#realJSOP18-Feb-21 5:40 
GeneralRe: if vs. if and only if (iff) Pin
Gary R. Wheeler18-Feb-21 9:25
Gary R. Wheeler18-Feb-21 9:25 
GeneralRe: if vs. if and only if (iff) Pin
Mircea Neacsu18-Feb-21 5:35
Mircea Neacsu18-Feb-21 5:35 
GeneralRe: if vs. if and only if (iff) Pin
Greg Utas18-Feb-21 8:47
professionalGreg Utas18-Feb-21 8:47 
GeneralRe: if vs. if and only if (iff) Pin
Sander Rossel18-Feb-21 9:22
professionalSander Rossel18-Feb-21 9:22 
GeneralRe: if vs. if and only if (iff) Pin
Slow Eddie19-Feb-21 2:07
professionalSlow Eddie19-Feb-21 2:07 
GeneralRe: if vs. if and only if (iff) Pin
Richard Deeming18-Feb-21 4:13
mveRichard Deeming18-Feb-21 4:13 
Brings back memories of algebra 101. Smile | :)

(Just don't confuse it with IIF, which is a different beast entirely.)

VBA also carried over the Imp operator[^] from QBASIC, which is the inverse of "if" in this sense. It got dropped from VB.NET though.

Fortunately, it's easy enough to implement any logical operator with just And, Or, and Not. And for extra credit, you can even drop either And or Or, and just use two operators.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: if vs. if and only if (iff) Pin
PIEBALDconsult18-Feb-21 4:57
mvePIEBALDconsult18-Feb-21 4:57 
GeneralRe: if vs. if and only if (iff) Pin
Kenneth Haugland18-Feb-21 5:11
mvaKenneth Haugland18-Feb-21 5:11 
GeneralRe: if vs. if and only if (iff) Pin
Richard Deeming18-Feb-21 6:21
mveRichard Deeming18-Feb-21 6:21 
GeneralRe: if vs. if and only if (iff) Pin
W Balboos, GHB18-Feb-21 4:23
W Balboos, GHB18-Feb-21 4:23 
GeneralRe: if vs. if and only if (iff) Pin
PIEBALDconsult18-Feb-21 4:55
mvePIEBALDconsult18-Feb-21 4:55 
GeneralRe: if vs. if and only if (iff) Pin
musefan18-Feb-21 5:35
musefan18-Feb-21 5:35 
GeneralRe: if vs. if and only if (iff) Pin
Wizard of Sleeves18-Feb-21 20:17
Wizard of Sleeves18-Feb-21 20:17 
GeneralRe: if vs. if and only if (iff) Pin
MSBassSinger19-Feb-21 2:18
professionalMSBassSinger19-Feb-21 2:18 
GeneralRe: if vs. if and only if (iff) Pin
obermd19-Feb-21 3:22
obermd19-Feb-21 3:22 
RantWhen your justification for not using Tasks is people use Delphi and also you don't understand Tasks Pin
honey the codewitch18-Feb-21 2:29
mvahoney the codewitch18-Feb-21 2:29 
GeneralRe: When your justification for not using Tasks is people use Delphi and also you don't understand Tasks Pin
Dan Neely18-Feb-21 3:17
Dan Neely18-Feb-21 3:17 
GeneralRe: When your justification for not using Tasks is people use Delphi and also you don't understand Tasks Pin
honey the codewitch18-Feb-21 3:19
mvahoney the codewitch18-Feb-21 3:19 
GeneralRe: When your justification for not using Tasks is people use Delphi and also you don't understand Tasks Pin
Jörgen Andersson18-Feb-21 4:10
professionalJörgen Andersson18-Feb-21 4:10 
GeneralRe: When your justification for not using Tasks is people use Delphi and also you don't understand Tasks Pin
honey the codewitch18-Feb-21 4:15
mvahoney the codewitch18-Feb-21 4:15 
GeneralRe: When your justification for not using Tasks is people use Delphi and also you don't understand Tasks Pin
Jörgen Andersson18-Feb-21 4:16
professionalJörgen Andersson18-Feb-21 4:16 
GeneralNuGet is like a virus at times Pin
Marc Clifton18-Feb-21 1:13
mvaMarc Clifton18-Feb-21 1:13 
PraiseRe: NuGet is like a virus at times Pin
RickZeeland18-Feb-21 1:37
mveRickZeeland18-Feb-21 1:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.