INFO: Using the IIF Function in FoxBASE+ or FoxPro (88885)
The information in this article applies to:
- Microsoft FoxBASE+ for MS-DOS 1.21
- Microsoft FoxBASE+ for MS-DOS 2.1
- Microsoft FoxPro for MS-DOS 2.0
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q88885 SUMMARY
The IIF (Immediate If) function returns one of two expressions,
depending on the value of a logical expression. When IIF evaluates a
logical expression, if the logical expression evaluates to a logical
true value (.T.), IIF returns the value of the first expression. If
the logical expression evaluates to a logical false value (.F.), IIF
returns the value of the second expression.
Modification Type: | Minor | Last Reviewed: | 2/10/2005 |
---|
Keywords: | kbinfo KB88885 |
---|
|