Associate Tefigel processors (subroutines) with input character strings
resembling identifiers.
Associate a parametrical function call with a character string:
link <link>=<subprogram-reference>
Associate a non-parametrical function call with a character string:
trap <trap>=<subprogram-reference>
Disassociate function call from character string:
unlink <link>
untrap <trap>
Activate implicit call to a parametrical function from
an input line (both text and command line):
text text text text text text text text
text text text <link> text text text
text text text text text text text text
text text text <link>(par1, par2, ...) text text text
text text text text text text text text
Activate implicit call to a non-parametrical function from
an input line (both text and command line):
text text text text text text text text
text text <trap> text text text
text text text text text text text text
<trap>
text text text text text text text text
A <link> is a <variable> associated with a <file-reference>.
On encountering a <link> in its input, Tefigel calls the associated
<file-reference> providing the given arguments, if any, and replaces in
output the <link> call with the string returned by the called
function, if any.
A <trap> is a <variable> associated with a <file-reference>.
On encountering a <trap> in its input, Tefigel calls the associated
<file-reference> without arguments, and replaces in
output the <link> call with the string returned by the called
function, if any.
[Previous chapter]
[Next chapter]
[Back to top]
|