"Comment"의 두 판 사이의 차이

(새 문서: ==Bash== category: Bash <source lang='bash'> # comments echo "Hello World!" # shows Hello World! </source> ==C== category: C <source lang='c'> // inline comment →‎Comment: ...)
 
26번째 줄: 26번째 줄:
==CMD==
==CMD==
[[category: Cmd]]
[[category: Cmd]]
<source lang='dos'>
<source lang='bash'>
REM comment
REM comment
</source>
</source>

2013년 12월 8일 (일) 13:57 판

1 Bash

# comments
echo "Hello World!" # shows Hello World!

2 C

// inline comment
/* Comment */
/*
Comment
*/

3 C++

4 C#

5 CMD

REM comment

6 HTML

<!-- Comment -->

7 Lua

-- Comment

8 PHP

bash style + c style

# inline comment
// inline comment
/* Comment */
/*
Comment
*/

9 Python

# inline comment
"""
multiline Comment
"""

10 SQL

-- inline comment
/*
Comment
*/

11 VB

inline only

'Comment
'Comment
Option Explicit
Private Sub Form_Load()
    MsgBox "Hello, World!" ' Comment
End Sub
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}