Scripting Guide > Programming Methods > Encrypt and Decrypt Scripts > Encryption and Global Variables
발행일 : 03/10/2025

Encryption and Global Variables

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 JSL 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:

myvar = 2;
__myvar = 5;
Show Symbols();

// Globals

myvar = 2;

// 2 Global (1 Hidden)

This strategy works whether your script is encrypted or not.

더 많은 정보를 원하십니까? 질문이 있습니까? JMP 사용자 커뮤니티에서 답변 받기 (community.jmp.com).