# IfProg

Source: https://help.malighting.com/grandMA2/en/help/key_keyword_ifprog.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
To get the IfProg keyword in the command line press If If If (= IfProg).

Another way is to type **IfProg** or **IfP** in the command line.

## Description

IfProg is a function keyword to select fixtures with values in the programmer.

If no filter is entered, IfProg selects all fixtures with values in programmer.

If a filter is entered, IfProg selects the fixtures which are in the filter and have values in programmer.

## Syntax

IfProg

IfProg \[filter]

## Examples

- To select all fixtures with values in the programmer type in the command line.

\[Channel]> IfProg

 

- To select only the fixtures of group 5 which have values in programmer type in the command line:

\[Channel]> IfProg Group 5