Expressions in DS


An expression is one method to specify a value in the text box of a step, as it can find a text using the formula you would have entered. Expressions can hence convert values with a high degree of freedom.

Please refer to the examples below.

(Example) Combining variables and texts to make a sentence.
  "The author of『" + Book.title + "』is " + + "."

 The value of the variable "Book.title" is "I am a cat".
 The value of the variable "" is "Natsume Soseki".

With the expression of this example, the text below is found.
 "The author of『I am a cat』is Natsume Soseki."

For more details about descriptive methods of string of characters that include variables, please refer to How to formulate statements when using strings of characters, variables or the newline characters \n in "Expression" in DS?.


You can also calculate numerical values within "Expression".
Please refer to the example below.

(Example) Multiplying variables with numerical values and obtaining the result.

 The value of the variable "Book.price" is "350".


If you enter the formula below in an expression, the value "350" of the variable "Book.price" is multiplied with "100", and the result "35000" is output.
 Book.price * 100


In "Expression", you can choose among expressions to use in the general formula.
Options include constants, variables, operators, special characters, functions, page properties, robot properties (have additional sub-expression functions set in them).



For more information about the constants you can choose in "Expression", please refer to the link below.
What are the constants (" " and >> <<) I can select for DS expressions?

0 out of 0 found this helpful



Article is closed for comments.