Lisp 的单行注释和多行注释
在Lisp中的注釋和多行注釋
多行注釋LISP:
當然,你可以有單行注釋,但每行注釋前面必須用分號。 一個注釋行的分號標題可能是一個或多達4個。 它取決于范圍注釋。
Comment and Multiline Comment in Lisp
February 5th, 2009 Goto comments Leave a commentI was a little surprised to find there's so little resource on the Internet about Lisp.Is it really too old to get people interested?
As a beginner, after writing some code, I wanted to find a way to comment out several lines of code to do an A/B test.But surprisingly, I couldn't find any document saying how to do it.Thanks to an email fromZach , I finally know how to do it. So, Multiline comment in LISP:
Of course, you could have single-line comments, but each line of comment must be prefaced with semicolon(s).The semicolons heading a line of comment could be one or up to 4.It depends on the scope of the comment.You will understand what scope is from the following example.
轉載于:https://www.cnblogs.com/leonxyzh/archive/2012/08/26/7289186.html
總結
以上是生活随笔為你收集整理的Lisp 的单行注释和多行注释的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 开发MapReduce程序
- 下一篇: [转]撞车之后,不要傻里傻气的!