Attribute subsequent

Overview

The pragma {attribute 'subsequent'} forces variables to be allocated in a row at one location in memory. If the list changes, the whole list will be allocated at a new location. This pragma is used in programs and global variable lists (GVL).

Syntax

{attribute 'subsequent'}

NOTE: If one variable in the list is RETAIN, the whole list will be located in retain memory.

NOTE: VAR_TEMP in a program with attribute subsequent will be detected as a compiler error.