September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
20
Task/Comments/Smart-BASIC/comments.smart
Normal file
20
Task/Comments/Smart-BASIC/comments.smart
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
'Single line comments are preceded by a single quote or the command REM
|
||||
|
||||
PRINT "Hello" 'Single line comments may follow code
|
||||
|
||||
PRINT "Hello" REM You can also use the command REM following code
|
||||
|
||||
/*
|
||||
Multi-line comments
|
||||
are surrounded by
|
||||
mirrored slash
|
||||
and asterisk
|
||||
*/
|
||||
|
||||
/*Multi-line comments do not have to actually have multiple lines*/
|
||||
|
||||
/* Spaces before or after comment bounds are optional.*/
|
||||
|
||||
/* A comment can also follow another comment */ 'Like this
|
||||
|
||||
Some programmers like to do this to allow for /* Procedural comments */ followed by 'Programmer's notes.
|
||||
Loading…
Add table
Add a link
Reference in a new issue