NIPO ODIN Version 5.17

*CENTRE

Purpose

Centers answer categories automatically.

Syntax

*CENTRE [n|expression]

Description

This command is always used in combination with *QUESTION and must be specified after this command on the same line. It centers the answer categories automatically.

Arguments

n
This argument can be value 0 or 1. Value 1 indicates that the answer categories are automatically centered. The default value is 0 (not centered).

Remarks

  • In NIPOSYS.INI the following setting applies:
    CentreCodes = n specifies whether the answer categories have to be centered or not, where n = 0 (not centered) or 1 (centered). Default is not centered.
  • When *AUTO is applicable (i.e. the answer categories are divided on the screen) the *CENTRE command or the centering setting will be ignored.
  • When centering the answer categories, you can suppress the display of the category codes with the setting HideCodes=1 in the file NIPOSYS.INI.

Example

*QUESTION 1 *CODES 61 *CENTRE

Do you own a car?

1: Yes
2: No

In this example, the answer categories are displayed in the middle of the screen (note that the category numbers may be suppressed with the HideCodes setting):

Result:

Embedded PNG Image Template (Styled)

See Also