Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -1 +1,2 @@
|
|||
`Comments in 4th Dimension begin with the accent character and extend to the end of the line.
|
||||
`Comments in 4th Dimension begin with the accent character and extend to the end of the line (until 4D version 2004).
|
||||
// This is a comment starting from 4D v11 and newer. Accent character is replaced by //
|
||||
|
|
|
|||
1
Task/Comments/Eiffel/comments.e
Normal file
1
Task/Comments/Eiffel/comments.e
Normal file
|
|
@ -0,0 +1 @@
|
|||
-- inline comment, continues until new line
|
||||
|
|
@ -9,3 +9,5 @@ Note 'example'
|
|||
Another way to record multi-line comments as text is to use 'Note', which is actually
|
||||
a simple program that makes it clearer when defined text is used only to provide comment.
|
||||
)
|
||||
|
||||
'A simple string which is not used is legal, and will be discarded'
|
||||
|
|
|
|||
1
Task/Comments/JavaScript/comments-1.js
Normal file
1
Task/Comments/JavaScript/comments-1.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
n = n + 1; // This is a comment
|
||||
1
Task/Comments/JavaScript/comments-2.js
Normal file
1
Task/Comments/JavaScript/comments-2.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
// This is a valid comment // with a "nested" comment
|
||||
6
Task/Comments/JavaScript/comments-3.js
Normal file
6
Task/Comments/JavaScript/comments-3.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/* This is
|
||||
a multi line
|
||||
comment
|
||||
// with a "nested" comment
|
||||
and another line in the comment
|
||||
*/
|
||||
7
Task/Comments/Julia/comments.julia
Normal file
7
Task/Comments/Julia/comments.julia
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# single line
|
||||
|
||||
#=
|
||||
Multi-
|
||||
line
|
||||
comment
|
||||
=#
|
||||
2
Task/Comments/SETL/comments.setl
Normal file
2
Task/Comments/SETL/comments.setl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
print("This is not a comment"); -- This is a comment
|
||||
$ For nostalgic reasons, this is also a comment.
|
||||
1
Task/Comments/Simula/comments-2.simula
Normal file
1
Task/Comments/Simula/comments-2.simula
Normal file
|
|
@ -0,0 +1 @@
|
|||
!This is a comment for Simula 67;
|
||||
7
Task/Comments/Squirrel/comments.nut
Normal file
7
Task/Comments/Squirrel/comments.nut
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
//this is a single line comment
|
||||
|
||||
#this is also a single line comment
|
||||
|
||||
/*
|
||||
this is a multi-line comment
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue