ProcExec Class Gets New InInitialize Attribute
A new read-only attribute, InInitialize, is added to the ProcExec class. The setting of InInitialize indicates whether a frame or ghost frame is in the process of being initialized (still executing the INITIALIZE block). If execution is currently within or as a result of being in the INITIALIZE block, this attribute is set to 1; if not, it is set to 0.
InInitialize enables developers to take advantage of code modularity, allowing common 4GL routines to adapt to the context from which they are called. You can check InInitialize within any 4GL object that can be run—frames, procedures, userclass methods, senduserevent statements, and userclass constructors—to determine whether the calling context was triggered within an INITIALIZE block.
For more information, see the ProcExec class, InInitialize Attribute in the Language Reference Guide and How You Can Determine If a Frame Is Being Initialized in the Programming Guide.
Last modified date: 06/25/2024