The right-hand argument is assigned to the left-hand argument.Įquivalence operator. Use the following operators to compare the values of two arguments of the same data type: OperatorĪssigns to a variable. This is always a short-circuit operator, meaning that if the left-hand argument evaluates to true, the right-hand argument is not evaluated. This is always a short-circuit operator, meaning that if the left-hand argument evaluates to false, the right-hand argument is not evaluated. If both arguments are integers, the result is an integer. 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." 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 Harmony, including within operations and transformations. Cloud Studio Cloud_Studio Jitterbit Script ¶ Introduction ¶
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |