Attribute 'displaymode'

The pragma defines the display mode of an individual variable. This setting overwrites the global setting for the display of the monitoring variables, which is defined by the commands in the menu Debug > Representation.

Syntax: {attribute 'displaymode':=<displaymode>}

The following definitions are possible:

Insertion location: Line above the declaration line of a variable

Example:

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

See also: