标签:
常见表达式
优先级:()
如:
(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
标签:
原文地址:http://www.cnblogs.com/rammderek/p/4250402.html