Where can I buy a book on EA programming? - page 19

 
Here's a screenshot. There's a lot of slashes starting with the right double slashes. I didn't write any comments there.
 

It is better to see once than to hear 100 times

Take any simple EA, insert the desired Example : I don't write any comments and comptroller. What will happen?

 
Aliaksandr Hryshyn:
There will be an error and it won't compile.
So it was written that after slashes it will NOT COPY and so on !!! What is the error???
 
Zvezdochet:
Here is an example in the screenshot. A lot of different quacky stuff starts with a right double slash. I did not write any comments there.


That's right. Here, at least the first normal question.

In the first line - after ONE slash there is a space and some letters - the compiler will not understand this and will generate an error.

In the fifth line, it's the same but there are some letters after a slash, so the compiler will get an error here too.

But everything is okay in the second line. There is a double slash after that; the compiler sees that it is a comment and does not look at it further. The same thing is with the third, fourth, tenth, eleventh and other strings.

 
Zvezdochet:
We wrote that after slashes it does NOT COPY and so on! What is wrong?

After the slashes and to the end of the line. And starting on a new line, it starts compiling again until double slashes are encountered. And so on.

But it was right - we have to try.

If you want answers to your question - post screenshots, as above. It will be easier to understand what you want.

 
geratdc_:

It is better to see once than to hear 100 times

Take any simple EA, insert the desired Example : I don't write any comments and comptroller. What will happen?

The "basement" has an error and "entry banned" - a screenshot I made earlier on some page.
 
Zvezdochet:
Repeat it a second time: I did the experiment in the "basement" and I got an error and "no entry" - the screenshot I made earlier on some page there.

That's right, and go back to that experiment to see where the error is coming from.

 
Georgiy Merts:

That's right. Here, at least the first normal question.

In the first line - after ONE slash there is a space and some letters - the compiler will not understand this and will generate an error.

In the fifth line, it's the same but there are some letters after a slash, so the compiler will get an error here too.

But everything is okay in the second line. There is a double slash and the compiler understands that this is a comment and won't look at it any further. The same thing is with the third, fourth, tenth, eleventh and other strings.

I conclude from what I've written: there is no single right-slash character and the compiler will generate an error?
 
Zvezdochet:
From what I've written, I conclude that the single right-slash character does not exist and the compiler will give an error?

The sign does exist. But the compiler will understand it only when it's in the right place. Just like a hard sign, you won't know what it stands for, but if it's in the right place, you'll immediately know what the sound is (or maybe it's not a sound, but a character).

 
Georgiy Merts:

That's right, and go back to that experiment to see where the error

Shchas...................