Page 1 of 1
method of the month ...
Posted: Fri Aug 07, 2009 2:57 pm
by ConvertFromOldNGs
by Signwriter >> Thu, 8 Mar 2007 3:10:42 GMT
Integer.isOneOf
Re: method of the month ...
Posted: Fri Aug 07, 2009 2:57 pm
by ConvertFromOldNGs
by
John Munro >> Thu, 8 Mar 2007 18:26:07 GMT
That method also exists on Binary, Boolean, Character, Date, Decimal, Real, String, Time and TimeStamp
Re: method of the month ...
Posted: Fri Aug 07, 2009 2:57 pm
by ConvertFromOldNGs
by Barry >> Thu, 8 Mar 2007 18:37:47 GMT
Seems somewhat pointless to have it on Boolean given that you have to provide a minimum of two parameters...
Re: method of the month ...
Posted: Fri Aug 07, 2009 2:57 pm
by ConvertFromOldNGs
by Murray Symon >> Mon, 12 Mar 2007 6:42:43 GMT
They don't have to be distininctly unique values, e.g. what about:
if b1.isOneOf(p1, p2, p3, p4) then ...
(where all variables/parameter involved are Booleans).
Murray.