Attribute init_On_Onlchange

Overview

To initialize variables on online change, proceed as follows:

Step

Action

1

Attach the pragma {attribute 'init_on_onlchange'} to a variable to initialize this variable with each online change.

2

Open the Build tab of the Properties dialog box of the application and enter the string no_fast_online_change in the Compiler defines box.

Syntax

{attribute 'init_on_onlchange' }

Insert Location

Insert this pragma in the line above the declaration of the variables.