Difference: PUSHPOPILFStatements (10 vs. 11)

Revision 112008-06-20 - JeffPrentice

Line: 1 to 1
 
META TOPICPARENT name="APPX43Features"

New ILF Statements

Application designers gain more control through these new ILF statements.
Line: 22 to 22
  A sub-string field and a synonym field will each have their own stack. This is because the field names in the data dictionary are unique. A field with multiple occurrences will have one stack. For example, a field named MYFILE FLD is defined with 2 occurrences. If you pushed MYFILE FLD (001) then pushed MYFILE FLD (002) the data will be saved in the stack named MYFILE FLD. To retrieve the saved values you would POP MYFILE FLD twice. The first POP would return MYFILE FLD (002), the second POP would return MYFILE FLD (001) as described above.

Added:
>
>
The stack inherites the scope (subprocess, related, or detached) from the field that is PUSH'ed.

 An ideal use for PUSH and POP is to load virtual keystrokes (user options) into a stack, and have them executed automatically and sequentially. See the section on SELECT below for an example of this usage.

SELECT

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback