MULTEXT - Document MQL2. SgmlQL reference/Operators.
Forall

The operator forall...in returns TRUE if

the query boolean is true.

Prototype

boolean <-- forall variable1 in list1
, [variable2 in list2]*
: boolean

Examples

  • forall $d in (top DATE within file $myfile): text($d) match "1992";
  • FALSE


    Note that the evaluation stops at the first tuple for which boolean is false. The computation can be expensive for large lists, since in the worst case, the entire cartesian product of list1, list2, etc. is computed.



    | Top | Next | SgmlQL reference | LPL/CNRS | MULTEXT

    Copyright © Centre National de la Recherche Scientifique, 1997.