>From: "Paul Mensonides" <[EMAIL PROTECTED]> > From: "David Abrahams" <[EMAIL PROTECTED]> > > > >> I understand what you're saying, but I think "inline if" doesn't > > >> reflect what it's doing and IIF is still not memnonic. > > > > > > It ultimately from (don't laugh) VB's version of the ternary > > > operator--called "iif." > > > > Ha har hee hee ha har hee hoo hahaha har hee hee ha har hee hoo hahaha > > har hee hee ha har hee hoo haha har hee hee ha har hee hoo hahaha har > > hee hee ha har hee hoo haha har hee hee ha har hee hoo hahaha har hee > > hee ha har hee hoo haha har hee hee ha har hee hoo hahaha! > > I've been converted. I swear! "When I was young, I had to walk to school > in three feet of snow uphill both ways--and, worse yet, I had to program in > Visual Basic!" It doesn't get any more "wordy" than this: > > Public Function Sum(ByVal X As Long, ByVal Y As Long) As Long > Sum = X + Y > End Function
Actually, it does, if you use Pascal. Then you have to throw in "begin"/"end" all over the place, as well, in addition to the above. :) Man: "When I started, we didn't have these sissy windows and icons. All we had was ones and zeroes. And sometimes we didn't even have ones." Man: "I wrote an entire database just using zeroes." Dilbert: "You had zeroes? We had to use the letter "o"." Regards, Terje _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost