Function Cleanup

  

DEVELOPER

You access this utility by clicking on the Function Clean-up icon on the PROIV Developer toolbar.

This utility removes unreferenced code from the current function.

The cleanup process removes in order (assuming that options have been checked) unreferenced logic, then maps, then messages, then scratch variables. This is to ensure that all unreferenced code is removed as an unreferenced logic may contain map, message and scratch variable messages and an unreferenced map may contain scratch variable references.

There are a number of options that may be used in any combination:

Backup Function - Check this to automatically backup the function prior to cleaning the code. The description of the backup entry will indicate which other options were chosen.

Remove Unreferenced Logics - Check this to remove logic IDs that are not referenced in any valid logic point in the function.

Remove Unreferenced Maps - Check this to remove function and OCX maps which are unreferenced.

Remove Unreferenced Messages - Check this to remove error messages which are unreferenced in logic.

Remove Unreferenced Scratch Variables - Check this to remove scratch variable definition entries that are unreferenced in the function.

Comment on this topic

Topic ID: 500163