Previous Topic: %Not()Next Topic: %Parameters


%Or(,)

Combines Boolean expressions to create more complex comparisons. %Or performs a "logical OR" on Boolean predicates defined by <macro code1> and <macro code2>.

Syntax

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

Syntax Example

%ForEachAttribute() {

%If(%Or(%AttIsPK,%==(%AttributeDatatype,varchar(10)))) {

%AttName}

}

Expansion

master-number

movie-copy-number

general-condition

Usage

Classified as a Miscellaneous macro that you can use globally or with %If.