"Comment"의 두 판 사이의 차이

잔글
잔글 (봇: C 제거)
1번째 줄: 1번째 줄:
==Bash==
==Bash==
[[category: Bash]]
<source lang='bash'>
<source lang='bash'>
# comments
# comments
11번째 줄: 10번째 줄:


==C==
==C==
[[category: C]]
<source lang='c'>
<source lang='c'>
// inline comment
// inline comment
21번째 줄: 19번째 줄:


==C++==
==C++==
[[category: C++]]
<source lang='c'>
<source lang='c'>
// inline comment
// inline comment
31번째 줄: 28번째 줄:


==C#==
==C#==
[[category: Csharp]]
<source lang='c'>
<source lang='c'>
// inline comment
// inline comment
41번째 줄: 37번째 줄:


==CMD==
==CMD==
[[category: Cmd]]
<source lang='bash'>
<source lang='bash'>
REM comment
REM comment
48번째 줄: 43번째 줄:
==HTML==
==HTML==
{{참고|HTML 주석}}
{{참고|HTML 주석}}
[[category: HTML]]
<source lang='html4strict'>
<source lang='html4strict'>
<!-- Comment -->
<!-- Comment -->
54번째 줄: 48번째 줄:


==INI==
==INI==
[[category: .ini]]
<source lang='ini'>
<source lang='ini'>
; Comment
; Comment
60번째 줄: 53번째 줄:


==Lua==
==Lua==
[[category: Lua]]
<source lang='lua'>
<source lang='lua'>
-- Comment
-- Comment
66번째 줄: 58번째 줄:


==PHP==
==PHP==
[[category: PHP]]
bash style + c style
bash style + c style
<source lang='php'>
<source lang='php'>
78번째 줄: 69번째 줄:


==Python==
==Python==
[[category: Python]]
<source lang='python'>
<source lang='python'>
# inline comment
# inline comment
87번째 줄: 77번째 줄:


==Perl==
==Perl==
[[category: Perl]]
{{본문|Perl 주석}}
{{본문|Perl 주석}}
<source lang='Perl'>
<source lang='Perl'>
97번째 줄: 86번째 줄:


==Ruby==
==Ruby==
[[category: Ruby]]
<source lang='Ruby'>
<source lang='Ruby'>
# inline comment
# inline comment
106번째 줄: 94번째 줄:


==SQL==
==SQL==
[[category: SQL]]
[[분류: PostgreSQL]]
*PostgreSQL
*PostgreSQL
<source lang='sql'>
<source lang='sql'>
117번째 줄: 103번째 줄:


==VB==
==VB==
[[category: VB]]
inline only
inline only
<source lang='vb'>
<source lang='vb'>
130번째 줄: 115번째 줄:
==같이 보기==
==같이 보기==
*[[주석]]
*[[주석]]
[[분류:Bash]]
[[분류:C++]]
[[분류:Csharp]]
[[분류:Cmd]]
[[분류:HTML]]
[[분류:.ini]]
[[분류:Lua]]
[[분류:PHP]]
[[분류:Python]]
[[분류:Perl]]
[[분류:Ruby]]
[[분류:SQL]]
[[분류:PostgreSQL]]
[[분류:VB]]

2019년 2월 3일 (일) 03:43 판

1 Bash

# comments
echo "Hello World!" # shows Hello World!
: <<'multiline_comment'
COMMENT LINE 1
COMMENT LINE 2
multiline_comment

2 C

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

3 C++

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

4 C#

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

5 CMD

REM comment

6 HTML

<!-- Comment -->

7 INI

; Comment

8 Lua

-- Comment

9 PHP

bash style + c style

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

10 Python

# inline comment
"""
multiline Comment
"""

11 Perl

# inline comment
=pod
multiline comment
=cut

12 Ruby

# inline comment
=begin
multiline Comment
=end

13 SQL

  • PostgreSQL
-- inline comment
/*
Comment
*/

14 VB

inline only

'Comment
'Comment
Option Explicit
Private Sub Form_Load()
    MsgBox "Hello, World!" ' Comment
End Sub

15 같이 보기