Is there a Rem / End Rem ?

Monkey Forums/Monkey Programming/Is there a Rem / End Rem ?

NoOdle(Posted 2011) [#1]
Hi, just wondering as I was trying to find this in Monkey? Have been using ' on multiple lines which can take a while!

If not, please can this be added?

Thanks!


JIM(Posted 2011) [#2]
#rem

#end

:)


therevills(Posted 2011) [#3]
MonkeyPro43/docs/language.html


Comments


You can add line comments to your programs using the ' (apostrophe) character. Everything following the ' character until the end of the line will be ignored.


You can add block comments to your programs using #rem and #end. These must appear at the start of a new line, although they may optionally have whitespace characters in front. Everything between #rem and #end will be ignored. Block comments can also be nested.


Here is an example of using comments:

Print "Hello World"        'This is a line comment!
#rem                                'start of a block comment

Print "The sound of silence!"

#end                                'end of a block comment






NoOdle(Posted 2011) [#4]
facepalm!

Thanks, I missed that when checking the docs!