Conditional statements

Gewijzigd op Vr, 5 Dec, 2025 om 1:54 PM

The get-statement has the following form:

{get: ifelse; expr: ; arg1: ; arg2: ; argN: ; iftrue: true; iffalse: false}

If the expression is true, the text of "iftrue" is returned, else the text of "iffalse". Both "iftrue" and "iffalse" are optional, so it's possible to show only a text if the value is true. There should be at least 2 arguments to create a valid expression. These arguments can also be get-statements. The value of is constructed of argument names and one or more of the following constants:

greater

{get: ifelse; expr: arg1 greater arg2; arg1: {get: data; varcode: bevtot; geoselect: base}; arg2: {get: data; varcode: bevtot; geoselect: compare}; iftrue: base region is larger; iffalse: compare region is larger};

Compares the data of indicator bevtot in the base region against the same in the compare region and states which is larger.

greaterequal

{get: ifelse; expr: arg1 greaterequal arg2; arg1: {get: data; varcode: bevtot; geoselect: base}; arg2: {get: data; varcode: bevtot; geoselect: compare}; iftrue: base region is equal or larger; iffalse: compare region is equal or larger};

Compares the data of indicator bevtot in the base region against the same in the compare region and states which is equal or larger.

equal

{get: ifelse; expr: arg1 equal arg2; arg1: {get: data; varcode: bevtot; geoselect: base}; arg2: {get: data; varcode: bevtot; geoselect: compare}; iftrue: base region is equal; iffalse: compare region is equal};

Compares the data of indicator bevtot in the base region against the same in the compare region and states if the values are equal.

lessequal

{get: ifelse; expr: arg1 lessequal arg2; arg1: {get: data; varcode: bevtot; geoselect: base}; arg2: {get: data; varcode: bevtot; geoselect: compare}; iftrue: base region is equal or smaller; iffalse: compare region is equal or smaller};

Compares the data of indicator bevtot in the base region against the same in the compare region and states which is equal or smaller.

less

{get: ifelse; expr: arg1 less arg2; arg1: {get: data; varcode: bevtot; geoselect: base}; arg2: {get: data; varcode: bevtot; geoselect: compare}; iftrue: base region is smaller; iffalse: compare region is smaller}

Compares the data of indicator bevtot in the base region against the same in the compare region and states which is smaller.

and

{get: ifelse; expr: arg1 greater arg2 and arg1 greater arg3; arg1: {get: data; varcode:bevtot}; arg2: {get: data; varcode: bevtotm}; arg3: {get: data; varcode: bevtotv};iftrue: argument 1 is greater than argument 2 and greater than argument 3;iffalse: the statement is false}

Compares the data of indicator bevtot with indicator bevtotm and bevtotv and returns true if bevtot is greater than both other indicators.

or

{get: ifelse; expr: arg1 greater arg2 or arg1 greater arg3; arg1: {get: data; varcode:bevtot}; arg2: {get: data; varcode: bevtotm}; arg3: {get: data; varcode: bevtotv};iftrue: argument 1 is greater than argument 2 or greater than argument 3;iffalse: the statement is false}

Compares the data of indicator bevtot with indicator bevtotm and bevtotv and returns true if bevtot is greater than either of the other indicators.

Was dit artikel nuttig?

Dat is fantastisch!

Hartelijk dank voor uw beoordeling

Sorry dat we u niet konden helpen

Hartelijk dank voor uw beoordeling

Laat ons weten hoe we dit artikel kunnen verbeteren!

Selecteer tenminste een van de redenen

Feedback verzonden

We stellen uw moeite op prijs en zullen proberen het artikel te verbeteren