PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV, WEBDEV, WINDEV Mobile 23 feature!
  • Overview
  • Defining a file or an item as being "zombie"
  • Defining a file as being "zombie"
  • Defining an item as being "zombie"
  • Handling a zombie file or item
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
During the life of an application, items live and die. Before dying, they can become zombies.
Which means that the item still exists in the data description, that it can be used in the existing application code, but that the item must no longer be used when writing new code.
A zombie item takes space and therefore it should be deleted.
Zombie items are often found in the dead code.
In version 23, you have the ability to identify the zombie items in the analysis; they will be signaled when they are used.
Defining a file or an item as being "zombie"

Defining a file as being "zombie"

To define a zombie file:
  1. In the data model editor, select the data file to use.
  2. Display the file description ("Description of data file" from the popup menu).
  3. In the "Details" tab:
    • Check "Zombie file (obsolete)".
    • Specify a comment if necessary. This comment will be displayed in the compilation error generated when using the zombie file.
      Description of zombie data file
    • Validate the modification ("Validate" button).
  4. Close the description window of data file.
  5. In the analysis graph, the zombie file is identified by the picto:
  6. In the "Analysis" pane, the zombie file is grayed and struck out:
  7. Generate the analysis to take the modifications into account. In the compilation error, a new error indicates the uses of zombie file.
Note: You also have the ability to perform the reverse operation.

Defining an item as being "zombie"

To define a zombie file:
  1. In the data model editor, select the data file to use.
  2. Display the description of items ("Description of items" from the popup menu).
  3. In the "Advanced" tab:
    • Check "Zombie item (obsolete)".
    • Specify a comment if necessary. This comment will be displayed in the compilation error generated when using the zombie item.
      Description of zombie item
  4. Validate (green button).
  5. In the analysis graph, the zombie item is struck out in the representation of data file:
  6. In the "Analysis" pane, the zombie item is grayed and struck out:
  7. Generate the analysis to take the modifications into account. In the compilation error, a new error indicates that the zombie item is used.
Note: You also have the ability to perform the reverse operation.
Handling a zombie file or item
In the different editors for handling files or items (window editor, report editor, query editor, ...), the zombie files an items can be easily identified as they are grayed and struck out.
Furthermore, a compilation error is used to easily identify the zombie elements used.
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment