RosettaCodeData/Task/Comments/Smart-BASIC/comments.smart
2017-09-25 22:28:19 +02:00

20 lines
559 B
Text

'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.