Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,4 +1,5 @@
|
|||
All ways to include text in a language source file that's completely ignored by the compiler or interpreter.
|
||||
All ways to include text in a language source file
|
||||
that's completely ignored by the compiler or interpreter.
|
||||
|
||||
'''See Also:'''<br>
|
||||
* Related Task: [[Documentation]]
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
---
|
||||
category:
|
||||
- Initialization
|
||||
note: Basic language learning
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
* An asterisk in column one denotes a comment line
|
||||
* Comments may also follow any syntactically complete instruction:
|
||||
NOP This is a comment (after a NOP instruction)
|
||||
LA 1,0 Comment
|
||||
NOP Comment (after a NOP instruction)
|
||||
* Comments after instructions with omitted operands require a comma ","
|
||||
END , Comment (without comma, "Comment" assumed an operand of "END")
|
||||
END , Comment (without comma, "Comment" assumed an operand of "END")
|
||||
|
|
|
|||
4
Task/Comments/ALGOL-60/comments.alg
Normal file
4
Task/Comments/ALGOL-60/comments.alg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
'COMMENT' this is a first comment;
|
||||
'COMMENT'
|
||||
****** this is a second comment ******
|
||||
;
|
||||
8
Task/Comments/ALGOL-W/comments.alg
Normal file
8
Task/Comments/ALGOL-W/comments.alg
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
begin
|
||||
comment a comment;
|
||||
% another comment
|
||||
;
|
||||
% and
|
||||
another
|
||||
%
|
||||
end this_word_is_also_a_comment.
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
100 ' Standard BASIC comments begin with "REM" (remark) and extend to the end of the line
|
||||
100 REM Standard BASIC comments begin with "REM" (remark) and extend to the end of the line
|
||||
110 PRINT "this is code": REM comment after statement
|
||||
|
|
|
|||
1
Task/Comments/Elixir/comments.elixir
Normal file
1
Task/Comments/Elixir/comments.elixir
Normal file
|
|
@ -0,0 +1 @@
|
|||
# single line comment
|
||||
1
Task/Comments/JCL/comments-2.jcl
Normal file
1
Task/Comments/JCL/comments-2.jcl
Normal file
|
|
@ -0,0 +1 @@
|
|||
/* This is also a comment line (/* in columns 1-3)
|
||||
6
Task/Comments/Oberon-2/comments.oberon-2
Normal file
6
Task/Comments/Oberon-2/comments.oberon-2
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
(* this is a comment *)
|
||||
(*
|
||||
and this is a
|
||||
multiline comment
|
||||
(* with a nested comment *)
|
||||
*)
|
||||
3
Task/Comments/PL-I/comments-2.pli
Normal file
3
Task/Comments/PL-I/comments-2.pli
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
/*
|
||||
This is a multiline comment.
|
||||
*/
|
||||
1
Task/Comments/SQL/comments-1.sql
Normal file
1
Task/Comments/SQL/comments-1.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
SELECT * FROM mytable -- Selects all columns and rows
|
||||
2
Task/Comments/SQL/comments-2.sql
Normal file
2
Task/Comments/SQL/comments-2.sql
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-- Selects all columns and rows
|
||||
SELECT * FROM mytable
|
||||
2
Task/Comments/SQL/comments-3.sql
Normal file
2
Task/Comments/SQL/comments-3.sql
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SELECT * FROM mytable
|
||||
-- Selects all columns and rows
|
||||
2
Task/Comments/Scilab/comments.scilab
Normal file
2
Task/Comments/Scilab/comments.scilab
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
// this is a comment
|
||||
i=i+1 // this is a comment
|
||||
1
Task/Comments/Simula/comments.simula
Normal file
1
Task/Comments/Simula/comments.simula
Normal file
|
|
@ -0,0 +1 @@
|
|||
COMMENT This is a comment for Simula 67;
|
||||
1
Task/Comments/TorqueScript/comments.torque
Normal file
1
Task/Comments/TorqueScript/comments.torque
Normal file
|
|
@ -0,0 +1 @@
|
|||
//This is a one line comment. There are no other commenting options in TorqueScript.
|
||||
1
Task/Comments/VBA/comments.vba
Normal file
1
Task/Comments/VBA/comments.vba
Normal file
|
|
@ -0,0 +1 @@
|
|||
' This is a VBA comment
|
||||
1
Task/Comments/VBScript/comments.vb
Normal file
1
Task/Comments/VBScript/comments.vb
Normal file
|
|
@ -0,0 +1 @@
|
|||
' This is a VBScript comment
|
||||
2
Task/Comments/Vim-Script/comments.vim
Normal file
2
Task/Comments/Vim-Script/comments.vim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
let a = 4 " A valid comment
|
||||
echo "foo" " Not a comment but an argument that misses the closing quote
|
||||
Loading…
Add table
Add a link
Reference in a new issue