Previous Topic: %=Next Topic: %CLRMethodSpecifiers


%And(,)

Combines two Boolean expressions to create a more complex comparison. %And(,) performs a "logical AND" on Boolean predicates defined by <macro code1> and <macro code2>. Both elements must evaluate to TRUE to satisfy the %And(,) condition.

Syntax

%And(<macro code1>, <macro code2>)

Syntax Example

%ForEachAttribute() {

%If(%And(%AttIsPK,%AttIsFK)) {

%AttName}

}

Expansion

employee id

movie copy number

movie number

customer number

Usage

Classified as a Miscellaneous macro.