October 1, 1979 HOUSE FUNCTIONS POP IMP-INSERT POINTER
RESTRICTIONS ____________
• The Implied Insert Stack currently holds only eight pointers
(e.g., four successive MBLOCK commands with no intervening
&POP's). When pointers are added to a full Stack, pointers
from the oldest Block are deleted and the new pointers are
added normally to the top.
EXAMPLES ________
Example 1 _________
This example uses non-Decimal Blocks to show the position of
the Implied Insert Pointer(s) as pointers are created and popped.
Each entry shows the position of the Implied Insert Pointer(s)
(under the appropriate character(s) with numbers denoting their
position in the Implied Insert Stack.
[given]=> "...text in old file..."
[user] ibl/file/text inside the first Block
[system] %<text inside the first Block%>
pointer(s)--> 1 2
[user] mb/inside
[system] %<inside%> the first Block%>
pointer(s)--> 1 2 3 4
[user] i/ the second Block
[system] %<inside the second Block%> the first Block%>
pointer(s)--> 1 2 3 4
[user] &POP
[system] %<inside the second Block%> the first Block%>
pointer(s)--> 1 2 3
b [user] i/popped text/
[system] %>popped text the first Block%>
pointer(s)--> 1 2 3
[user] &POP
[system] %>popped text the first Block%>
pointer(s)--> 1 2
[user] &POP
[system] %>popped text the first Block%>
pointer(s)--> 1
FRESS Resource Manual Release 9.1 FRESS RSection 6.2 -- 265
RESTRICTIONS ____________
• The Implied Insert Stack currently holds only eight pointers
(e.g., four successive MBLOCK commands with no intervening
&POP's). When pointers are added to a full Stack, pointers
from the oldest Block are deleted and the new pointers are
added normally to the top.
EXAMPLES ________
Example 1 _________
This example uses non-Decimal Blocks to show the position of
the Implied Insert Pointer(s) as pointers are created and popped.
Each entry shows the position of the Implied Insert Pointer(s)
(under the appropriate character(s) with numbers denoting their
position in the Implied Insert Stack.
[given]=> "...text in old file..."
[user] ibl/file/text inside the first Block
[system] %<text inside the first Block%>
pointer(s)--> 1 2
[user] mb/inside
[system] %<inside%> the first Block%>
pointer(s)--> 1 2 3 4
[user] i/ the second Block
[system] %<inside the second Block%> the first Block%>
pointer(s)--> 1 2 3 4
[user] &POP
[system] %<inside the second Block%> the first Block%>
pointer(s)--> 1 2 3
b [user] i/popped text/
[system] %>popped text the first Block%>
pointer(s)--> 1 2 3
[user] &POP
[system] %>popped text the first Block%>
pointer(s)--> 1 2
[user] &POP
[system] %>popped text the first Block%>
pointer(s)--> 1
FRESS Resource Manual Release 9.1 FRESS RSection 6.2 -- 265