Attribute enable_dynamic_creation

Overview

The pragma enable_dynamic_creation is required for using the __NEW operator for function blocks.

Syntax

{attribute 'enable_dynamic_creation'}

Insert the pragma in the first line in the declaration of the function block.