16/16 Comments


#1

Hello, I am not sure why, but I keep getting errors saying that I didn't add =begin, when I clearly did. Here is my code, if anyone can help, that would be greater appreciated!

Single line comment

=begin
I
am
a
multi
line
comment
=end


#2

@romanbeya,

Your code seems Ok.
Try a reset of your Browser

++++ reset of session *****************
under certain circumstances you can shoot your Browser in an
inconsistent state.

Therefor it is of an advantage to know that you have 2 reset facilities:

One is the use of the F5-key which does a refresh Browser

and

Two, select&copy your code
Then use the Reset Code button of the course-window,
then paste your code back in.

Addendum
General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).
CTRL 0 to reset browser zoom

===================================================

=begin
d
d
d
=end
print "hallo1\n"
'''
multiline
d
d
d
'''
print "hallo2\n"

Reference
https://www.ruby-lang.org/en/documentation/

https://en.wikibooks.org/wiki/Ruby_Programming


#3

I had the same thing happen but it was fixed when i got rid of my single line comment.


#4

I had the same problem and had to press reset code as well as do a browser reset with Ctrl+F5 (windows) in order to get it to work.

Thanks for the answer.


#5

I had the same problem:
move from chrom to explorer fixes it.