表达式规则
字面量
在表达式输入窗里可以输入图层名称、数字、文本等。输入时应遵守以下规则。
Layer name
Use backticks around the layer name.

Text
Use double quotation marks around the text.

Text with multiple lines
Add a \n to add a line break between characters or words.

Number
Use Arabic numbers only; other symbols are not allowed.

Color
Colors must be expressed in the #FFFFFF format (Hex color code).

Variable
Use variable names that do not have any symbols in the name.

运算符号
在表达式中可以使用加号(+),减号(-),乘号(*),除号(/),余数(%)等符号做四则运算
余数符号(%)
触发计算时,整除部分以外余下的部分叫做"余数"。比如 5%2 表示 5除以2之后得2,余数是1,所以 5%2 = 1。
文本运算
运算符号中只有"加号"也可以被文本使用。在文本中使用加号则表示将两个文本连接。比如 文字"1"加上文字"2"的话得到的是文本"12".
Text + Text

"helloworld"

"12"
Text + Number

"hello1234"