标点符号中英对照表
1.键盘符号表
符号
英文说明
中文说明
Esc
escape
转义
`
backquote
反引号
~
tilde
音标符号
!
exclamation
感叹号
@
at sign
#
pound sign
$
dollar sign
美元符号
%
percent sign
百分号
^
caret
&
ampersand
*
star/asterisk
星号
()
parentheses
括号(小括号)
-
hyphen/minus
连字符/减号
_
underscore
下划线
=
equals sign
等于号
+
plus
加号
\
backslash
反斜线
|
vertical bar
竖线
{}
(curly) braces
花括号(大括号)
[]
(square) brackets
方括号(中括号)
;
semicolon
分号
:
colon
冒号
'
single quote/apostrophe
单引号/所有格符号
"
double quote
双引号
<
less than sign
小于号
,
comma
逗号
>
greater than sign
大于号
.
period/dot
句号/点
?
question mark
问号
/
forward slash
斜线
2.算术符号表
符号
英文说明
中文说明
+
addition
加法运算
-
subtraction/negative
减法运算/取负
*
multiplication
乘法运算
/
division
除法运算
%
modulus
取模运算
**
exponential
指数运算
e/E
a power-of-10 indicator
指数幂符号
++
autoincrement
--
autodecrement
英文读法:
2 + 3
2 plus 3
5.1 - 2.4
5.1 minus 2.4
3 * 12
3 times 12
14 / 2
14 divided by 2
-12e-24
neagtive 12 times 10 to the -24th
对于++和--又分前缀和后缀,在Perl中称为preincrement/predecrement和postincrement/postdecrement。
3.关系符号表
符号
英文说明
中文说明
==
equal to
等于
!=
not equal to
不等于
<
less than
小于
>
greater than
大于
<=
less than or equal to
小于等于
>=
greater than or equal to
大于等于
4.逻辑符号表
符号
英文说明
中文说明
&&
and(logical AND operator)
逻辑与
||
or(logical OR operator)
逻辑或
!
not(logical NOT operator)
逻辑非
?:
ternary operator
三元运算符
&&、||、?:又称为Partial-Evaluation Operators,以及short-circuit logical operators。
5.位运算符号表
符号
英文说明
中文说明
&
bitwise-and operator
|
bitwise-or operator
^
bitwise-xor operator
<<
bitwise shift left
>>
bitwise shift right
~
bitwise negation(unary bit complement)
6.赋值符号表
符号
英文说明
中文说明
=
assignment operator
赋值
+=, *=, ...
binary assignment operator
7.其他符号表(来自Perl)
符号
英文说明
中文说明
.
concatenation
字符串连接
<>
angle brackets/diamond operator
..
range operator
=>
big arrow
->
small arrow
=~
binding operator
<=>
spaceship operator
