常见表达式
优先级:()
如:
(1+2)*3 = 9
算术: + - * / ^(次方) %(百分比)
如:
12+3 = 15
12-3 = 9
12*3 = 36
12/3 = 4
12% = 0.12
2^3 = 8
逻辑: = > >= < <= <>
如:
12>3 = true
12=3 = false
3>=3 = true
12<12 = false
3<=3 = true
12<>3 = true
拼接: &
如:
"Ramm" & "Derek" = "RammDerek"
逻辑: && || !
如:
(12>3) && (12<3) = false
(12>3) || (12<3) = true
!(12>3) = false
查找: in
如:
Collect(items,1,2,3)
(2 in items) = true
属性: !
如:
TextBox!Text
Items!Value
时间: 2024-11-03 13:41:47