Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

OR( aArray )

Purpose

Perform a logical OR on an array of logical expressions.

Arguments

     aArray -- the array of logical expressions to test.

Setup

All array elements must be filled, with any combination of logical
expressions (either genuine logicals or expressions which evaluate on
macro-expansion to .T. or .F.). Typically, this function is used in the
context of testing multiple records. Any memory variables or fields
referenced in the logical expressions must exist.

Example

     LOCAL array := { "BALANCE < 500", ;
                      "LAST_NAME > 'L'" }

     USE CUSTOMER
     LIST CUSTOMER->Company FOR OR( array )

Returns

.T. on the first expression that resolves to .T., else .F.

Side Effects

The program will crash if any array elements are undefined or if they
reference non-existent variables or fields.

Artful Calls

None.

Source File

AA_OR.PRG

See Also: AND() NOR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson