Programming   
2.3 Variables 
  Expanding the user interface 
2-38  Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0 
2.3.16  ENTRY variable 
Description 
The ENTRY variable can be used to check by what method a dialog has been called.  
Programming 
 
Syntax:  ENTRY 
Description:  The ENTRY variable is a read only variable. 
Return Value:    The result of the scan can be:  
  0 =  No programming support 
  1 =  Programming support (the dialog was called by programming 
support) 
  2 = Programming support + default setting from the previous 
dialog (sub-dialog) 
  3 = Programming support + recompilation 
  4 = Programming support + recompilation with generated 
comments, with # sign 
  5 = Programming support + recompilation with generated 
comments, without # sign 
Example 
 
   
IF ENTRY == 0     
  DLGL("The dialog was not called during programming")     
ELSE   
  DLGL("The dialog was called during programming")     
ENDIF