Difference between revisions of "Manual:DIL Manual/secure()"
Jump to navigation
Jump to search
(XML import) |
(XML import of LLM wiki pages) |
| (3 intermediate revisions by the same user not shown) | |
(No difference)
| |
Latest revision as of 10:44, 4 December 2025
secure ( u : unitptr , label )
u : Unit to secure.
label : Label to jump to, on removal.
result: Secures a unitptr, so that the program will go to 'label'
if unit leaves local environment. If this happens, during
a call to another function/procedure, it will continue
at that label when the function/procedure returns.
If you perform some kind of call to a template, the removing
of a unit from the local environment will not have affect.
until the return from that function, as the program execution
will continue at the designated label after a call. Should
several secured units leave local environment, the last such
event will determine the point of execution upon return.