5.18 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 = Start of a screen via softkey; no code has been generated yet (default
as configured)
2 = Start of a screen via softkey; code has been generated
(default from the code generated last by this screen)
3 = Recompilation with user comment (# lines)
4 = Code_type = 0: NC code with user comment (# lines)
5 = Code_type = 1: NC code without user comment (# lines)
Example
IF ENTRY == 0
DLGL ("The dialog was not called under programming")
ELSE
DLGL ("The dialog was called under programming")
ENDIF
Variables
5.18 ENTRY variable
SINUMERIK Integrate Run MyScreens (BE2)
110 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1