발행일 : 03/10/2025

Hide a Global Variable

To hide (or protect) a global variable, put two underscores (__) before the name. Protecting a global variable means that it will be hidden and can not be examined or shown. However, the behavior is different depending upon the context.

This example will not print the variable because it is protected:

Show(::__xyz);

This example returns a NULL value for the protected variable:

::a = Name Expr( ::__xyz );

This example does return a value for the protected variable:

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