bases.codigos.txt

Top  Previous  Next

Descripción macro BASES CODIGOS

--------------------------------------------------------------------

Este macro pertenece al díálogo del punto de menú:

Propiedades de la variable / Tabulación / Bases de código

 

 

Instrucciones macro BASES CODIGOS

--------------------------------------------------------------------

BASES CODIGOS

 

<ACCION_BORRAR_TODO>

 

VARIABLE

<V_1>

 

BASES

<accion_1>        <V_1_C_1>        <BASE_NOM_1>        <BASE_DEF_1>        <BASE_PON_1>

...

<accion_x>        <V_1_C_1>        <BASE_NOM_m>        <BASE_DEF_m>        <BASE_PON_m>

<accion_x>        <V_1_C_2>        <BASE_NOM_1>        <BASE_DEF_1>        <BASE_PON_1>

...

<accion_x>        <V_1_C_2>        <BASE_NOM_m>        <BASE_DEF_m>        <BASE_PON_m>

<accion_x>        <V_1_C_k>        <BASE_NOM_1>        <BASE_DEF_1>        <BASE_PON_1>

...

<accion_x>        <V_1_C_k>        <BASE_NOM_m>        <BASE_DEF_m>        <BASE_PON_m>

#

VARIABLE

<V_2>

 

BASES

<accion_1>        <V_2_C_1>        <BASE_NOM_1>        <BASE_DEF_1>        <BASE_PON_1>

...

<accion_x>        <V_2_C_1>        <BASE_NOM_m>        <BASE_DEF_m>        <BASE_PON_m>

<accion_x>        <V_2_C_2>        <BASE_NOM_1>        <BASE_DEF_1>        <BASE_PON_1>

...

<accion_x>        <V_2_C_2>        <BASE_NOM_m>        <BASE_DEF_m>        <BASE_PON_m>

<accion_x>        <V_2_C_k>        <BASE_NOM_1>        <BASE_DEF_1>        <BASE_PON_1>

...

<accion_x>        <V_2_C_k>        <BASE_NOM_m>        <BASE_DEF_m>        <BASE_PON_m>

#

VARIABLE

<V_n>

 

BASES

<accion_1>        <V_n_C_1>        <BASE_NOM_1>        <BASE_DEF_1>        <BASE_PON_1>

...

<accion_x>        <V_n_C_1>        <BASE_NOM_m>        <BASE_DEF_m>        <BASE_PON_m>

<accion_x>        <V_n_C_2>        <BASE_NOM_1>        <BASE_DEF_1>        <BASE_PON_1>

...

<accion_x>        <V_n_C_2>        <BASE_NOM_m>        <BASE_DEF_m>        <BASE_PON_m>

<accion_x>        <V_n_C_k>        <BASE_NOM_1>        <BASE_DEF_1>        <BASE_PON_1>

...

<accion_x>        <V_n_C_k>        <BASE_NOM_m>        <BASE_DEF_m>        <BASE_PON_m>

#

--------------------------------------------------------------------

Notas:

 

- significado de las etiquetas

 <V_i> - nombre de la variable

 <accion_x>   - acción a realizar sobre la relación código y base

                puede ser el valor 'BORRAR' o 'AÑADIR'

 <V_i_C_j>    - etiqueta del código j de la variable i

 <BASE_NOM_k> - nombre de la base de código k

 <BASE_DEF_k> - definición de la base de código k

 <BASE_PON_k> - puede ser el valor 'PONDERADA' o 'NO PONDERADA'

                corresponde al campo 'Calcular la base sobre la frecuencia ponderada'

 <ACCION_BORRAR_TODO> - este literal no es obligatorio, puede ser el valor 'BORRAR *' o ''

                borra todas las relaciones de bases y códigos de todas las variables

 

- la acción "BORRAR" se puede escribir de dos formas:

- "BORRAR <V_i_C_j> <BASE_NOM_k>" borra la relación de base y código de la variable V_i seleccionada

- "BORRAR *" borra todas las relaciones de bases y códigos de la variable V_i seleccionada

 

 

- las etiquetas que están en una misma fila están separadas por tabulador

 

 

 

Ejemplo:

--------------------------------------------------------------------

BASES CODIGOS

 

VARIABLE

COMPRA

 

BASES

BORRAR *

AÑADIR        MARCA 1        base1        VALORA=1        PONDERADA

AÑADIR        MARCA 2        base2        VALORA=2        NO PONDERADA

AÑADIR        Filtrado        base3        VALORA=3        NO PONDERADA

#

 

--------------------------------------------------------------------

BASES CODIGOS

 

BORRAR *

 

VARIABLE

P1

 

BASES

AÑADIR        domingos        base1        ZONA=1        PONDERADA

AÑADIR        sábados        base2        ZONA=2        PONDERADA

#

 

VARIABLE

P2

 

BASES

AÑADIR        casi siempre        base1        ZONA=1        PONDERADA

AÑADIR        casi nunca        base2        ZONA=2        PONDERADA

#

 

VARIABLE

P3

 

BASES

AÑADIR        +6        base1        ZONA=1        NO PONDERADA

#