Real Software Forums
http://forums.realsoftware.com/

IIF Statement?
http://forums.realsoftware.com/viewtopic.php?f=13&t=43466
Page 1 of 1

Author:  simulanics [ Tue Apr 03, 2012 6:50 pm ]
Post subject:  IIF Statement?

Is there an equivalent method (obviously user generated) to instate the common vb IIF?

Author:  charonn0 [ Tue Apr 03, 2012 7:30 pm ]
Post subject:  Re: IIF Statement?

There's no 1:1 equivalent that I know of. Reading the description on MSDN, it sounds like a thin wrapper around an XOr function.

RealBasic has the XOr operator as well as a number of other bitwise operations in the Bitwise class. A workalike function should be fairly easy to write with just Xor.

Author:  simulanics [ Tue Apr 03, 2012 9:01 pm ]
Post subject:  Re: IIF Statement?

charonn0 wrote:
There's no 1:1 equivalent that I know of. Reading the description on MSDN, it sounds like a thin wrapper around an XOr function.

RealBasic has the XOr operator as well as a number of other bitwise operations in the Bitwise class. A workalike function should be fairly easy to write with just Xor.



Thanks for the response :-) have figured out a work-around :-)

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/