ph_macroparmret PowerHome formula function
Description
Plays a PowerHome macro and passes 5 optional parameters. Also returns the value stored in LOCAL1 when the macro terminates.
Syntax
ph_macroparmret ( s, a, a, a, a, a )
Argument |
Description |
s
|
A string identifying the ID of the macro you wish to play.
|
a
|
Any data type that will be passed to LOCAL1.
|
a
|
Any data type that will be passed to LOCAL2.
|
a
|
Any data type that will be passed to LOCAL3.
|
a
|
Any data type that will be passed to LOCAL4.
|
a
|
Any data type that will be passed to LOCAL5.
|
Return value
String. Returns the value that was last stored in system variable LOCAL1 when the macro terminated.
Usage
The passed parameters are copied into the system variables LOCAL1 thru LOCAL5. Any valid data type can be passed in these values. All data types are first converted to type string before being stored in the system variables. You must specifiy a valid data type for each parameter. If you do not wish to pass data for a particular parameter then just pass either "" or 0.