Changes

Jump to navigation Jump to search
446 bytes added ,  22:56, 22 August 2012
|-
| '''Syntax'''
|width='100%'|{{Code|RUN [inputfile]}}
|-
| '''XML Syntax'''   
|<code><run>[input]</run></code> ({{Mark|≥ Version 7.4}})<br/><code><run file='...'/></code> ({{Mark|< Version 7.4}})<br/>
|-
| '''Permission'''
|-
| '''Summary'''
|Evaluates the contents of the file specified by {{Code|[inputfile]}} as XQuery expression. Since {{Version|7.4}}, if the file ends with the suffix {{Code|.bxs}}, the file content will be evaluated as [[#Command Scripts|command script]].
|-
| '''Errors'''
|The command fails if the specified file does not exist, or if the retrieved input is invalid.
|}
 
==EXECUTE==
 
{{Mark|Introduced with Version 7.4:}}
 
{| width='100%'
|-
| '''Syntax'''
|width='100%'|{{Code|EXECUTE [input]}}
|-
| '''XML&nbsp;Syntax'''&nbsp;&nbsp;&nbsp;
|<code><execute>[input]</execute>
|-
| '''Permission'''
|''depends on input''
|-
| '''Summary'''
|Evaluates the specified {{Code|[input]}} as [[#Command Scripts|command script]]. This command can be used to run several commands in a single transaction.
|-
| '''Errors'''
|The command fails if the syntax of the specified input is invalid, or as soon as one of the executed commands fails.
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu