Script language
Spotfire provides a script language that you can use to create a script that runs multiple commands.
#§ | If a hash is the first character on a line, the line is a comment.
Example: # This is a comment that describes the next section.§ |
set§ | Defines a variable. The variable name and the value must be separated by an equal character (=).
Example: set PASSWORD = "abc123"§ |
${Variable}§ | Substitutes the dollar sign and curly braces with the variable value.
If there is no matching variable, there is no substitution. Example: --tool-password="${PASSWORD}"§ |
\§ | The logical line continues on the next line.
Example: bootstrap --no-prompt --driver-class="${DB_DRIVER}" \ --database-url="${DB_URL}" § |
echo§ | Writes to console.
Example: echo This message will be posted echo§ |
§ | Empty rows are allowed§ |
Related concepts
Related tasks
Copyright © TIBCO Software Inc. All rights reserved.