Using PIE in a program (for example for automation)
Posted: 8 Dec 2009 0:16
The attached project illustrated how PIE can be used in a project.
The project contains a form (on F7), which for is initialized with a little demo PIE script. The script invokes two predicates which are implemented in the project and exposed for usage in the PIE engine.
One of the predicates pops up a dialog that ask the user a question, the other predicate simply makes some calculation. The result of the script is written in the message window (because stdio is the default output for PIE engines).
The project contains a form (on F7), which for is initialized with a little demo PIE script. The script invokes two predicates which are implemented in the project and exposed for usage in the PIE engine.
One of the predicates pops up a dialog that ask the user a question, the other predicate simply makes some calculation. The result of the script is written in the message window (because stdio is the default output for PIE engines).