符号的英文读法

 

@        at           这个总是会读的啦,Email满天飞的时代
#        sharp          大名鼎鼎 的C#想必都会读了
$         dollar
[]        Square brackets            方括号
|       vertical bar                      垂直??不懂中文怎么说,哈哈
[             An open square bracket         前面那个方括号,不知道中文是不是这样说的^_^
)             A closing parenthesis            后面那个括号,哈哈
*            An asterisk               星号
^           A carat symbol            中文呢?
/            A slash          斜杠
\              backslash           反斜杠
.            point            点

\n     # A newline
\t     # A tab
[a-z]     # Anything from a to z inclusive

non-word character      不换行字符串?
digit       数字
word boundary      词语边界??
whitespace         空格,说space也可以吧
expression        表达式
statement     等式
result     结果
arrow      箭头
underline        下划线
comma 逗号
引号 quotation marks
single quotes and double quotes       单引号和双引号
colon 冒号
问号     interrogation        , question mark     ???????


$a = 1 + 2; # Add 1 and 2 and store in $a                加 add      ...       and ...
$a = 3 - 4; # Subtract 4 from 3 and store in $a         减     subtract ...     from ...
$a = 5 * 6; # Multiply 5 and 6                                   乘      multiply ...     and ...  
$a = 7 / 8; # Divide 7 by 8 to give 0.875                   除     divide ... by ...
$a = 9 ** 10; # Nine to the power of 10                        9的 10 次方
$a = 5 % 2; # Remainder of 5 divided by 2                 5除以2的余数 (取模)
++$a;     # Increment $a and then return it             加1 increment      递增??
$a++;     # Return $a and then increment it        
--$a;     # Decrement $a and then return it             减一     decrement  
$a--;     # Return $a and then decrement it
a += $b; # Add $b to $a
$a -= $b; # Subtract $b from $a
$a .= $b; # Append $b onto $a             连接字符串     append     ... onto ...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值