#rem #end problems

Monkey Forums/Monkey Programming/#rem #end problems

Soap(Posted 2013) [#1]
#rem
docs
#end
more code

Anyone else having problems with this? Nothing after #end is being compiled - it's being treated as a blank file after the #end. Doing something wrong?


SLotman(Posted 2013) [#2]
Have you tried

#Rem
#End Rem

? #Rem...#End should work, but I always use #End Rem, End Method... etc :)


Capn Lee(Posted 2013) [#3]
just chiming in that I just tested on 75d and it compiled file

is this a problem on any project or have you just tested with the one? Supply an example and we can check it out


ziggy(Posted 2013) [#4]
AFAIK, #end should be the first significative character in the code line.

so this:
#Rem
this is whatever #End


won't work


Markus(Posted 2013) [#5]
#rem
#end
works for me in 75d, i see it also because the syntax highlighting color.
i agree #end must the first word in line.


Brian Rich(Posted 2013) [#6]
It is just a problem in one area of the code. I have been using it elsewhere with no problem. it was being used to comment out several pages of docs for a project I was working on, which started with
#rem
and stopped with a single
#end
There were no extra preprocessor directives inside the comment block. Really stumped as to what might have caused it.


tiresius(Posted 2013) [#7]
Maybe if there is too many comments inbetween something gets in trouble? That is weird.