Part of identifiers in strings




CrunchCode found some text snippets in strings that could be part of an identifier name.



     If a text part is really the part of an identifier,
     then the affected identifier may not be camouflaged!



Example 1: Access to UserForm–elements with use only of a part of their name

A UserForm contains five text fields "Label1, Label2,...,Label5"
that are filled successively:

For bytX = 1 To 5
    frmXXX.Controls("Label" & bytX).Caption = ...
Next bytX

In this example, camouflaging the name of the UserForm elements would
result in a runtime error when they
are called by their old names ("Label1", "Label2" etc.).

The identifiers "Label1...5" must be excluded from being camouflaged.

This situation can also occur if the names "Label1... 5"
are generated in a function:

For bytX = 1 To 5
    frmXXX.Controls(prcBuildLabelName(bytX)).Caption = ...
Next bytX


Example 2: External call of procedures

If a procedure is called by an external program,
the procedure must NOT be camouflaged
or else the external program will not be able to find it.




Handling of the list:

The list is sorted on the column whose header is highlighted.
To sort on another column, click on its header.
Clicking on the same header a second time reverses its order.

double click: display position in the source–code

The selection of entries can also happen with:

Letter/number: Next list entry that begins in the sort column
with the respective characters
 ------ xxx
Ctrl + Space: Next group in the sort column | xxx
 -----> yyyy
yyyy