colons & semicolons 冒号和分号
The code in listing 4 implements a crude parser that assumes that we use colons to separate buddy IDs from the associated note and semicolons to separate subsequent notes.
清单4中的代码实现了一个简单的解析器,它假设我们使用冒号分隔好友ID和相关的通知,并使用分号分隔后续通知。
According to Grammar Net: "Dashes, semicolons and colons are potent punctuation."
根据语法网定义:破折号、分号和冒号都是有效的标点符号。
Note how the background-color and foreground (type) colour are separated by a semi-colon. Be careful not to mix up the colons and semicolons or things will go horribly wrong.
注意到上面框框内背景色及前景(字主体)是用分号来分开。小心不要混淆冒号及分号否则事情会十分错误。
应用推荐