Kbase P11978: It does not make much sens to wonder if a GLOBAL SHARED VARIABLE was defined or not
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  03/02/2005 |
|
Status: Unverified
GOAL:
Is it possible to know if a GLOBAL SHARED VARIABLE was defined or not ?
FIX:
No. However, it dos not make much sense. The point of GLOBAL SHARED VARIABLE is that the first programs that needs it creates it, programs that come later just connect to it.
A good application should have as few GLOBAL SHARED VARIABLE's as possible. Nowadays, it is better to rely on object oriented techniques, such as SUPER PROCEDURE and SESSION SUPER PROCEDURE having a function called getMyProperty that returns the value of a simple variable or of a field stored in a temp-table (like smartObjects do).