A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
1
Task/Comments/FALSE/comments.false
Normal file
1
Task/Comments/FALSE/comments.false
Normal file
|
|
@ -0,0 +1 @@
|
|||
{comments are in curly braces}
|
||||
3
Task/Comments/Factor/comments.factor
Normal file
3
Task/Comments/Factor/comments.factor
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
! Comments starts with "! "
|
||||
#! Or with "#! "
|
||||
! and last until the end of the line
|
||||
6
Task/Comments/Falcon/comments.falcon
Normal file
6
Task/Comments/Falcon/comments.falcon
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/* Start comment block
|
||||
My Life Story
|
||||
*/
|
||||
|
||||
// set up my bank account total
|
||||
bank_account_total = 1000000 // Wish this was the case
|
||||
2
Task/Comments/Fancy/comments.fancy
Normal file
2
Task/Comments/Fancy/comments.fancy
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Comments starts with "#"
|
||||
# and last until the end of the line
|
||||
4
Task/Comments/Fish/comments.fish
Normal file
4
Task/Comments/Fish/comments.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
v This is the Fish version of the Integer sequence task
|
||||
>0>:n1+v all comments here
|
||||
^o" "< still here
|
||||
And of course here :)
|
||||
1
Task/Comments/GAP/comments.gap
Normal file
1
Task/Comments/GAP/comments.gap
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Comment (till end of line)
|
||||
1
Task/Comments/GML/comments-1.gml
Normal file
1
Task/Comments/GML/comments-1.gml
Normal file
|
|
@ -0,0 +1 @@
|
|||
// comment starts with "//" and continues to the end of the line
|
||||
6
Task/Comments/GML/comments-2.gml
Normal file
6
Task/Comments/GML/comments-2.gml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/* a multi-line comment starts with slash-asterisk and,
|
||||
ends with asterisk-slash.
|
||||
also note:
|
||||
* A multi-line comment is ignored inside a string
|
||||
* A multi-line comment can be ended inside a line
|
||||
*/
|
||||
2
Task/Comments/GW-BASIC/comments.bas
Normal file
2
Task/Comments/GW-BASIC/comments.bas
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
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
|
||||
2
Task/Comments/Gambas/comments.gambas
Normal file
2
Task/Comments/Gambas/comments.gambas
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
' This whole line is a comment and is ignored by the gambas interpreter
|
||||
print "Hello" ' Comments after an apostrophe are ignored
|
||||
1
Task/Comments/Gema/comments.gema
Normal file
1
Task/Comments/Gema/comments.gema
Normal file
|
|
@ -0,0 +1 @@
|
|||
! comment starts with "!" and continues to end of line
|
||||
1
Task/Comments/Golfscript/comments.golf
Normal file
1
Task/Comments/Golfscript/comments.golf
Normal file
|
|
@ -0,0 +1 @@
|
|||
# end of line comment
|
||||
7
Task/Comments/Haxe/comments.haxe
Normal file
7
Task/Comments/Haxe/comments.haxe
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// Single line commment.
|
||||
|
||||
/*
|
||||
Multiple
|
||||
line
|
||||
comment.
|
||||
*/
|
||||
1
Task/Comments/HicEst/comments.hicest
Normal file
1
Task/Comments/HicEst/comments.hicest
Normal file
|
|
@ -0,0 +1 @@
|
|||
! a comment starts with a "!" and ends at the end of the line
|
||||
2
Task/Comments/IDL/comments.idl
Normal file
2
Task/Comments/IDL/comments.idl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
; The following computes the factorial of a number "n"
|
||||
fact = product(indgen( n )+1) ; where n should be an integer
|
||||
3
Task/Comments/Icon/comments.icon
Normal file
3
Task/Comments/Icon/comments.icon
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# This is a comment
|
||||
|
||||
procedure x(y,z) #: This is a comment and an IPL meta-comment for a procedure
|
||||
6
Task/Comments/Inform-7/comments.inf
Normal file
6
Task/Comments/Inform-7/comments.inf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[This is a single-line comment.]
|
||||
|
||||
[This is a
|
||||
multi-line comment.]
|
||||
|
||||
[Comments can [be nested].]
|
||||
6
Task/Comments/Io/comments.io
Normal file
6
Task/Comments/Io/comments.io
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Single-line comment
|
||||
|
||||
// Single-line comment
|
||||
|
||||
/* Multi-line
|
||||
comment */
|
||||
11
Task/Comments/J/comments.j
Normal file
11
Task/Comments/J/comments.j
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
NB. Text that follows 'NB.' has no effect on execution.
|
||||
|
||||
0 : 0
|
||||
Multi-line comments may be placed in strings,
|
||||
like this.
|
||||
)
|
||||
|
||||
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.
|
||||
)
|
||||
1
Task/Comments/JCL/comments.jcl
Normal file
1
Task/Comments/JCL/comments.jcl
Normal file
|
|
@ -0,0 +1 @@
|
|||
//* This is a comment line (//* in columns 1-3)
|
||||
4
Task/Comments/Joy/comments.joy
Normal file
4
Task/Comments/Joy/comments.joy
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# this is a single line comment
|
||||
|
||||
(* this is a
|
||||
multi-line comment *)
|
||||
2
Task/Comments/K/comments.k
Normal file
2
Task/Comments/K/comments.k
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/ this is a comment
|
||||
2+2 / as is this
|
||||
8
Task/Comments/KonsolScript/comments.konso
Normal file
8
Task/Comments/KonsolScript/comments.konso
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
//This is a comment.
|
||||
//This is another comment.
|
||||
|
||||
/* This is a comment too. */
|
||||
|
||||
/* This is a
|
||||
multi-line
|
||||
comment */
|
||||
1
Task/Comments/LSE64/comments-1.lse64
Normal file
1
Task/Comments/LSE64/comments-1.lse64
Normal file
|
|
@ -0,0 +1 @@
|
|||
# single line comment (space after # is required)
|
||||
1
Task/Comments/LSE64/comments-2.lse64
Normal file
1
Task/Comments/LSE64/comments-2.lse64
Normal file
|
|
@ -0,0 +1 @@
|
|||
# arg1 arg2 '''yields''' result|''nothing''
|
||||
1
Task/Comments/Lang5/comments.lang5
Normal file
1
Task/Comments/Lang5/comments.lang5
Normal file
|
|
@ -0,0 +1 @@
|
|||
# This is a comment.
|
||||
5
Task/Comments/Liberty-BASIC/comments.liberty
Normal file
5
Task/Comments/Liberty-BASIC/comments.liberty
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
'This is a comment
|
||||
REM This is a comment
|
||||
|
||||
print "This has a comment on the end of the line." 'This is a comment
|
||||
print "This also has a comment on the end of the line." : REM This is a comment
|
||||
4
Task/Comments/Lilypond/comments.lilypond
Normal file
4
Task/Comments/Lilypond/comments.lilypond
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
% This is a comment
|
||||
|
||||
%{ This is a comment
|
||||
spanning several lines %}
|
||||
1
Task/Comments/Logo/comments.logo
Normal file
1
Task/Comments/Logo/comments.logo
Normal file
|
|
@ -0,0 +1 @@
|
|||
; comments come after a semicolon, and last until the end of the line
|
||||
1
Task/Comments/Logtalk/comments-1.logtalk
Normal file
1
Task/Comments/Logtalk/comments-1.logtalk
Normal file
|
|
@ -0,0 +1 @@
|
|||
% single-line comment; extends to the end of the line
|
||||
2
Task/Comments/Logtalk/comments-2.logtalk
Normal file
2
Task/Comments/Logtalk/comments-2.logtalk
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/* multi-line
|
||||
comment */
|
||||
1
Task/Comments/LotusScript/comments-1.lotus
Normal file
1
Task/Comments/LotusScript/comments-1.lotus
Normal file
|
|
@ -0,0 +1 @@
|
|||
' This is a comment
|
||||
4
Task/Comments/LotusScript/comments-2.lotus
Normal file
4
Task/Comments/LotusScript/comments-2.lotus
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
%REM
|
||||
This is a multi-
|
||||
line comment.
|
||||
%END REM
|
||||
6
Task/Comments/M4/comments.m4
Normal file
6
Task/Comments/M4/comments.m4
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
eval(2*3) # eval(2*3) "#" and text after it aren't processed but passed along
|
||||
dnl this text completely disappears, including the new line
|
||||
divert(-1)
|
||||
Everything diverted to -1 is processed but the output is discarded.
|
||||
A comment could take this form as long as no macro names are used.
|
||||
divert
|
||||
4
Task/Comments/MAXScript/comments.max
Normal file
4
Task/Comments/MAXScript/comments.max
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
-- Two dashes precede a single line comment
|
||||
|
||||
/* This is a
|
||||
multi-line comment */
|
||||
6
Task/Comments/MBS/comments.mbs
Normal file
6
Task/Comments/MBS/comments.mbs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
! A pling in a line starts a comment
|
||||
|
||||
INT n:=5 ! Comments can appear at the end of a line
|
||||
|
||||
/* A comment block can also be defined using climbstar and starclimb symbols.
|
||||
This allows comments to be stretched across several lines */
|
||||
3
Task/Comments/MOO/comments.moo
Normal file
3
Task/Comments/MOO/comments.moo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
"String literals are technically the only long-term comment format";
|
||||
// Some compilers will, however, compile // one-liners to string literals as well (and vice-versa)
|
||||
/* Classical C-style comments are removed entirely during compile */
|
||||
1
Task/Comments/Mathematica/comments-1.mathematica
Normal file
1
Task/Comments/Mathematica/comments-1.mathematica
Normal file
|
|
@ -0,0 +1 @@
|
|||
(*this is a comment*)
|
||||
1
Task/Comments/Mathematica/comments-2.mathematica
Normal file
1
Task/Comments/Mathematica/comments-2.mathematica
Normal file
|
|
@ -0,0 +1 @@
|
|||
If[a(*number 1*)<(* is smaller than number 2*) b, True (*return value (*bool true*)*), False (*return bool false*)]
|
||||
1
Task/Comments/Mathematica/comments-3.mathematica
Normal file
1
Task/Comments/Mathematica/comments-3.mathematica
Normal file
|
|
@ -0,0 +1 @@
|
|||
If[a < b, True, False]
|
||||
3
Task/Comments/Maxima/comments.maxima
Normal file
3
Task/Comments/Maxima/comments.maxima
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
/* Comment
|
||||
/* Nested comment */
|
||||
*/
|
||||
1
Task/Comments/Metafont/comments.metafont
Normal file
1
Task/Comments/Metafont/comments.metafont
Normal file
|
|
@ -0,0 +1 @@
|
|||
% this is "to-end-of-line" comment
|
||||
4
Task/Comments/Mirah/comments.mirah
Normal file
4
Task/Comments/Mirah/comments.mirah
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
puts 'code' # I am a comment
|
||||
/* This is
|
||||
* a multiple
|
||||
* line comment */
|
||||
3
Task/Comments/Modula-2/comments.mod2
Normal file
3
Task/Comments/Modula-2/comments.mod2
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(* Comments (* can nest *)
|
||||
and they can span multiple lines.
|
||||
*)
|
||||
3
Task/Comments/Modula-3/comments.mod3
Normal file
3
Task/Comments/Modula-3/comments.mod3
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(* Comments (* can nest *)
|
||||
and they can span multiple lines.
|
||||
*)
|
||||
Loading…
Add table
Add a link
Reference in a new issue