5.6   Protected Procedures

Procedures can be protected by a password. Protected procedures may be executed by all users. However, the interface, documentation, and program code can only be accessed if the correct password is supplied.

Instead of protecting single procedures individually, all procedures of an HDevelop program or a library, respectively, can also be protected as a whole.

Protected procedures alter between two states:

 
A protected procedure is locked if the password has not been entered in the current session. Locked procedures cannot be modified, and the program code is not visible in the program window.
 
A protected procedure is unlocked after the correct password has been entered. Unlocked procedures may be modified, and the program code is visible in the program window.

To protect individual procedures, see section “Protecting a Procedure”.

To manage the protection state of multiple procedures, see section “Procedures Manage Passwords.