Condition

Test for conditions. See Loop and conditions for usage.

FileExist

Check for a file or directory existing. Supports wildcards * for any number of characters and ? for exactly one character.

NameTypeAnnotation
file
filenamesupports wildcards: * and ?

Command

Execute command and check success.

NameTypeAnnotation
command
filename
silently
booleanwithout showing the output.

Expression

Evaluate expression.

NameTypeAnnotation
expression
expression

Matrix

Evaluate elements of a matrix based on an expression. If all=yes, all elements of the matrix must evaluate to true for the condition to be fulfilled, otherwise any element evaluating to true is sufficient.

NameTypeAnnotation
matrix
matrixGeneratorexpression is evaluated for each element of resulting matrix
expression
expression(variable: data) evaluated for each element
all
booleanall (=yes)/any (=no) elements must evaluate to true

MatrixEmpty

Evaluate if matrix (or instrument) file is empty/has zero size.

NameTypeAnnotation
inputfileMatrix
filename

StringContainsPattern

Determines if there is a match between a pattern or a regular expression and some subsequence in a string.

NameTypeAnnotation
string
filenameshould contain a {variable}
pattern
filename
isRegularExpression
booleanpattern is a regular expression
caseSensitive
booleantreat lower and upper case as distinct

StringMatchPattern

Determines if a pattern or a regular expression matches the entire string.

NameTypeAnnotation
string
filenameshould contain a {variable}
pattern
filename
isRegularExpression
booleanpattern is a regular expression
caseSensitive
booleantreat lower and upper case as distinct

And

All conditions must be met (with short-circuit evaluation).

NameTypeAnnotation
condition
condition

Or

One of the conditions must be met (with short-circuit evaluation).

NameTypeAnnotation
condition
condition

Not

The result of the condition is inverted.

NameTypeAnnotation
condition
condition