Actions

UpCommands
Sitemap
 

Actions are procedures, just under a different name. They are the active part of rules and rule scripts. It is possible to define them globally and during the execution of a rule script. They are always executed within rule scripts and thus restricted in their behaviour by the safe environment created to do so. Like everything else in rule scripts they have access to the input-command representing the object the script is executed for.

Actions
Subcmd Description
::fmail::action
name arguments body

Defines a new action. Syntax of the arguments and behaviour are like the builtin proc, with the exeception that the new command is not visible in this interpreter but only inside of rule scripts.


© Andreas Kupries
Last update at Thu Nov 11 21:48:39 MET 1999