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

AND( aArray )

Purpose

Perform a logical AND 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 AND( array )

Returns

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

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_AND.PRG

See Also: OR() NOR()

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