Scriptcase pass array global variable1/12/2024 Raises the first argument to the power of the second argument. Example: $count-=2 is the same as $count=$count-2.ĭivides two numbers. Subtracts numbers from the target variable. Example: $count- if prefixed, assignment precedes the decrement. The result is of type double.ĭecrements a value by 1. Example: $count+=2 is the same as $count=$count+2. Example: $count++ if prefixed, assignment precedes the increment.Ĭoncatenates a string or adds numbers to the target variable. If both arguments are numbers, the result is of type double. If a string is added to anything else, both arguments are converted to strings. Arithmetic ¶ OperatorĪdds two numbers or concatenates two strings. If this is not possible, an error is reported. Jitterbit Script attempts to convert the arguments to enable the operation. This is a summary of the operators supported by Jitterbit Script. $str = "String with line break.\nThat's the last line." Jitterbit Harmony supports the regular expression syntax from the Perl 5 programming language. Jitterbit Harmony supports regular expressions as means of specifying and recognizing strings of text, including particular characters, words, or character patterns. To increase the allowed number of iterations per loop, see _iterations in Scripting Jitterbit Variables. The Eval function under General Functions can be used as a "try-catch" statement.Ī maximum of 50,000 loop iterations is allowed for each individual loop in Jitterbit Scripts. See the Case, If, and While functions under Logical Functions. Instead, you can use Jitterbit functions to achieve the same functionality. The Jitterbit Script language does not include control statements such as if or while loops. Comments are not part of the script that is run or the transformed result.įor example, a comment on a single line might look like this: tags, the use of two forward slashes // marks the start of a single-line comment and affects the text to the end of that line. The result that is returned is the returned value of the last statement of the script before the closing tag. Within those tags, a Jitterbit Script consists of built-in functions, variables, or logic to execute, separated by a semi-colon ( ). In Jitterbit Script, scripts must be enclosed within a opening tag and closing tag, unless using functions that specifically call for code to be placed outside of these tags, such as several Database Functions. Also see related pages for creating a script, using the script editor, and testing a script. This page provides information specific to the Jitterbit Script language, such as syntax, data types, operators, escape sequences, and control structures. Scripts are created in Jitterbit Script language by default. The Jitterbit Script language can be used in all types of scripts within Jitterbit Harmony, including within operations and transformations.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |