Lesson 16: Comments


#1

Having issues moving forward from this lesson. Keep getting syntax errors! Using Chrome on a MacBook running Yosemite OS. See screenshot:

Can someone explain how to do this exercise correctly? Feedback and insight is greatly appreciated!


#2

Hi the exercise want you to create a comment on a single-line and another multi-line


#3

Thanks for the response @wizmarco! I think the single-line vs. multi-line thing is what's tripping me up then. Can you explain it with more detail or provide an example?


#4

HI the coment on one line is like that

#this is a comment on one lne

you just need to put the # at the begin of the line.
Then for the multi-comment line you do it like that

=begin
This is a 
multi
line
comment
=end

you begin it with =begin and end it with =end


#5

Thanks again! It worked this time.


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.