Script execution instruction

Description

The script execution instruction is used to execute a specified script of an RSE (type, factory or service).

Input argument values are transferred to the script through input argument assignments and output argument values are transferred from the script through output argument assignments.

See also the section called “Script execution tail” for information about specific error handling.

Syntax

Table 20.6. Script execution syntax

ProductionSyntaxLinks
script_execution_instruction RSE_script_selector input_assignment_list ? output_assignment_list ? script_execution_tail ? the section called “Script execution instruction”
RSE_script_selector( RSE_selector "." ) ? script_selector 
RSE_selector 
script_selectorthe section called “Introduction to scripts”
input_assignment_list"(" input_assignment ( ";" ? input_assignment ) * ")" 
output_assignment_list "(" output_assignment ( ";" ? output_assignment ) * ")"

remark: if there are no input arguments assigned then the output argument assignment list must be preceded by () to indicate an empty input argument assignment list

 
input_assignment ( input_argument_id "=" ) ? expression

remark: input_argument_id = can only be omitted if the called script has exactly one input argument

 
output_assignmentassignable_object_reference_selector "=" output_argument_id 
assignment_tail type_check_clause ? on_error_clause ? the section called “Assignment tail”
on_error_clause "on_error" ":" ( "exit_script" | "continue" )

"remark: default value is exit_script

 

Examples

see:

See also