Section | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
...
The Macro Parameters editor is dynamic in that its layout and contents are determined by the user depending on what is specified in the macro program the user provides. The rationale is that the editor contents form a user interface accepting variable user input for execution by the macro provided. It is a circular process in that the Macro icon passed to the Macro Parameters specifies the user interface, the Macro Parameters builds it, accepts the input and passes it back to the Macro icon to be used in whatever calculations it specifies.
Macro
Specifies the macro program which determines the layout and contents of the remainder of the editor.
This macro program must contain code to build the user interface and code to accept and parse the input (and obviously code to use it). On dropping a suitably coded macro program, a user interface is builtThe editor only contains one field called Macro. When a Macro icon is dropped here the user interface defined by it is automatically built inside the editor.