START (ST)
Syntax
![]()
Command
Mandatory parameter Optional parameter Mandatory keyword Optional keyword |
START (<Executable> | <Batch job>[, <Parameter>[, <Wait>]])
Description
Starts the execution of an external program.
Diagram
Returned value type
None
Parameters
Parameter | Description |
<Executable> | Expression giving the name of the executable. |
<Batch job> | Batch job to be performed. |
<Parameter> | Expression giving the argument to be passed to the executable. |
<Wait> | Boolean, if set to true the execution of the present form/report will wait till the started executable or batch job has finished. |
Examples
start ('Jobs\Job.ps1') // Does not wait till job has finished
start ('Jobs\Job.ps1', sg-message) // Does not wait till job has finished
start ('Jobs\Job.ps1', '', True) // Wait till job has finished
start ('Jobs\Job.ps1', sg-message, True) // Wait till job has finished
start ('Jobs\Job.ps1', sg-message) // Does not wait till job has finished
start ('Jobs\Job.ps1', '', True) // Wait till job has finished
start ('Jobs\Job.ps1', sg-message, True) // Wait till job has finished