September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
11
Task/Comments/Bc/comments-1.bc
Normal file
11
Task/Comments/Bc/comments-1.bc
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* This is a comment. */
|
||||
|
||||
2 + /* Comment between tokens. */ 3
|
||||
|
||||
"This is a string, /* NOT a comment */."
|
||||
|
||||
/*
|
||||
* A comment can have multiple lines. These asterisks in the middle
|
||||
* of the comment are only for style. You must not nest a comment
|
||||
* inside another comment; the first asterisk-slash ends the comment.
|
||||
*/
|
||||
11
Task/Comments/Bc/comments-2.bc
Normal file
11
Task/Comments/Bc/comments-2.bc
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/bc
|
||||
|
||||
# This form of comment is an extension, not part of standard bc.
|
||||
|
||||
# Your program must not have a #! shebang line
|
||||
# unless your bc supports this form of comment.
|
||||
|
||||
2 + 3 # It can be after a statement.
|
||||
|
||||
a = 1 # The newline is not part of the comment.
|
||||
b = 2 # So this line is a different statement.
|
||||
Loading…
Add table
Add a link
Reference in a new issue