2.
|
Select Edit > Encrypt Script.
|
5.
|
Click OK.
|
6.
|
If you entered only a decrypt password, click Yes to confirm that you do not want to assign a run password.
|
2.
|
Select Edit > Decrypt Script.
|
2.
|
Select Edit > Run Script.
|
Encryption alone does not hide global variables and their values. A Show Globals() command displays them normally. If you want to hide global variables in an encrypted script, you can give them special names.
Any global variable whose name begins with two underscore characters (__) is hidden, and Show Globals() displays neither its name nor its value. For example:
You can also encrypt a script that is saved to a data table using the JSL Encrypted() or Include( Char to Blob() ) functions.
•
|
JSL Encrypted() is more straightforward, because it involves one function. You can include comments inside the encrypted script.
|
•
|
Include( Char to Blob() ) lets you include comments, but not inside the script.
|
2.
|
In the script window, select Edit > Encrypt.
|
4.
|
5.
|
If you entered only a decrypt password, click Yes to confirm that you do not want to assign a run password.
|
10.
|
Click OK.
|