Talk:IIf

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Creation[edit]

I saw that this was a "requested" article, and, since I knew about it, I created it. It was not until after I created the article that I found the only thing trying to link to it was the requested articles page that requested it! Oh well, I've now linked to it from the Visual Basic article so it won't be an orphan. --Spaceman85 | my talk 17:14, 18 February 2006 (UTC)

Criticism Section[edit]

The external link is now dead, it appears Xtras.net does not have the article any longer, so I removed it. The criticisms did not really require citation IMO, as they are all matters of fact that revolve around the implementation of IIf as a library function that takes two Variant arguments and returns a Variant—so I reworked the section accordingly. --Mr Wednesday 22:06, 20 September 2006 (UTC)[reply]

Merge to ?:[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
No consensus to merge (after 3 years).Ajpolino (talk) 20:31, 6 December 2016 (UTC)[reply]

  • Oppose One is a ternary operator, this is just a function. They have the same purpose and are frequently imposed alternatives in contexts where only one is available (most programming languages have one or the other but not both). However they have important syntactic differences and this is the subject of much of their coverage. Andy Dingley (talk) 02:49, 7 November 2013 (UTC)[reply]
  • Comment Both are clearly related, being language-specific inline if operations. :? already has a section on iif, so by expanding the section this article can be eliminated. On the other hand, this article has much more detail on VB's iff, and the article name "?:" wouldn't fit - iff is neither an operator nor its syntax is anything near ?:. Both can be merged into "inline if" or some other term that can be used to refer to both iff and ?:. WarKosign 11:57, 8 November 2014 (UTC)[reply]
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.