Index  Up  <<  >>  


and

CALL INFORMATION
Parameters: type term op compare

THIS TAG HAS SPECIAL POSITIONAL PARAMETER HANDLING.

Pass attribute hash as last to subroutine: no

Must pass named parameter interpolate=1 to cause interpolation.

Invalidates cache: no

Called Routine:

Called Routine for positonal:

ASP/perl tag calls:

    $Tag->and(
        {
         type => VALUE,
         term => VALUE,
         op => VALUE,
         compare => VALUE,
        }
    )
  
 OR
 
    $Tag->and($type, $term, $op, $compare);

Attribute aliases

            base ==> type
            comp ==> compare
            operator ==> op

 

DESCRIPTION
The [and ...] tag is only used in conjunction with [if ...]. Example:

    [if value fname]
    [and value lname]
    Both first and last name are present.
    [else]
    Missing one of "fname" and "lname" from $Values.
    [/else]
    [/if]

See [if ...].


Index  Up  <<  >>