Attribute ‘displaymode’

With this pragma you define the display mode of an individual variable. This definition overwrites the global setting for the display of the monitoring variable, which takes place via the commands in the menu Debug ‣ Display mode .

Syntax:

{attribute 'displaymode':=<displaymode>}

The following definitions are possible

Insertion position: line above the line with the declaration of the corresponding variables.

Example

VAR
 {attribute 'displaymode':='hex'}
 dwVar1: DWORD;
END_VAR

See also