|
Review Collections |
Top Previous Next |
|
The Review Collections feature allows you to review the collections of the source code. When a class file (.cls extension) is reviewed, if it contains the Item or NewEnum methods it is considered a collection. In this case, the following requirements are reviewed:
MZ-Tools offers the following ways to review collections:
The results are shown in a Results Window. You can set the Procedure ID of a procedure moving the cursor to a line of the procedure code and clicking the Tools | Procedure Attributes... menu:
In that window, when you click the Advanced>> button an expanded window like the following is shown:
Finally, in the Procedure ID combo box you enter the value -4 for NewEnum method or you select the (Default) value of the list for the Item method. The review of the collections can be launched automatically (or you can be asked) when you make the executable of a project, that is, clicking the File | Make Project... menu (this is customizable in the Options window, General tab). If a wrong collection is detected, the Results window keeps open (otherwise it is closed). You should fix the collections errors before making the executable. Remarks:
See Also: |