Derived TemplatesTemplates for procedure calls, function calls, generic instantiations, etc. can be constructed from their definition using command copy-template (menu: Edit/Copy Template). Such templates can be inserted into code using command paste-template (menu: Edit/Paste Template).
For example, a template for a procedure call consists of the procedure name with the argument list constructed from the formal parameter list of the procedure. For each formal parameter, a named association is created.
In buffer line.a, locate the definition for the entry
Come_To_Life in the declaration of the task type Philosopher
. Click SELECT on Come_To_Life.
Invoke command copy-template.
Now move to buffer *untitled*,
create a <statement> placeholder,
and invoke paste-template.
A call to the entry will be created for that procedure.