Events and Logic |
DEVELOPER |
Logic is introduced into a function for many purposes – for example, to validate data, perform calculations, select/sort items, call other functions, or display messages.
A logic routine can be called at specified process points in all types of function, except menus. All available process points for a function are clearly visible in Events view. The view also shows which Process Points are currently used.
All available process points for all types of function are listed in this section.
The Logic Editor is accessed via the Logic Selection and Edit icon . This icon is available on the PROIV Developer toolbar, or, for specific process points, in Events view or on a property sheet’s Events tab. When you create a logic routine, you must assign a unique Logic ID which is used to identify that piece of logic. There are 255 Logic IDs available within each function. A logic routine can be used many times, but if you find you are using the same logic routine in many places it is worth considering using Global Logic. Global Logics can be called from any function.
Section links:
Process Points defines all available Event Process Points for all types of functions.
Function Keys covers Function Keys and their properties.
Logic explains how to use PROIV logic.
Logic Processing Commands lists the Logic Commands which control loop processing.
Scratch Variable Definition covers the maintenance of Scratch Variables.
Function Messages explains Error Message Maintenance.
Topic ID: 520003