@ISCHILD/ @ISICHILD

English (Español a continuación)

It is a Boolean function that returns «True», if the calculated member fulfills the function’s argument, or «False» otherwise.

Its structure consists of a single argument:

@ISCHILD (Argument);

  • This argument includes an element of the outline; if the calculated member is a child of that element, the function returns «True»; if it is not, it returns «False».

For example:

@ISCHILD (“Spain”);

  • IF the calculated member is a child of “Spain” this function returns “True”, otherwise it returns “False”.

The difference between @ISCHILD / @ISICHILD is that the first does not include the member collected in the function (in the previous example Spain) among the members that meet the condition, while the second function does.

This function is usually used within an «IF» structure:

  • IF @ (ISCHILD (“Spain”))
  • Sales = 50;
  • ENDIF

This function applied to the following outline would result in:

Español

Es una función booleana que devuelve “Verdadero”, si el miembro calculado cumple el argumento de la función, o “Falso”, en caso contrario.

Su estructura consta de un solo argumento:

@ISCHILD(Argumento);

Este argumento recoge un elemento del outline; si el miembro calculado es hijo de dicho elemento la función devuelve “Verdadero”; si no lo es devuelve “Falso”.

Por ejemplo:

  • @ISCHILD (“España”);

SI el miembro calculado es hijo de “España” esta función devuelve “Verdadero”, en caso contrario devuelve “Falso”.

La diferencia entre @ISCHILD / @ISICHILD es que la primera no incluye entre los miembros que cumplen la condición al miembro recogido en la función (en el ejemplo anterior España), mientras que la segunda función sí lo incluye.

Esta función se suele utilizar dentro de una estructura “IF”:

IF@(ISCHILD(“España”))

Ventas = 50;

ENDIF

Esta función aplicada al siguiente outline daría como resultado:

Anuncio publicitario