> In addition to "IFNE", why not add "IFGE" (IF >=) and "IFLE"
> (IF <=). This would give a full complement of boolean operators.

How about a generalized immediate IF function:

 IIF(BooleanExpression, TrueValue, FalseValue)

which would evaluate the BooleanExpression and return the TrueValue or
FalseValue depending on the result.  The BooleanExpression could be anything
that follows an IF in the R:Base language:

vConfirmMsg = +
  IIF(PayType IN ('Visa', 'MC', 'Amex'), 'Needs Confirmation', 'Payment OK')

This would have all the functionality of IFEQ, IFGT, etc, plus a lot more
that is not currently available in the variable list in Forms and Reports.

(IIF happens to be the name of this function in, I think, FoxPro, but the
name could be anything else).
--
Larry Lustig


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to