|Years and years ago I can remember putting data into REM statements in order to save memory.
Then poking and peeking things. In those days we didn't have very much memory really. So I am surprised that I remembered it at all.
A REM statement was called a remark in those days and now is more commonly referred to as a comment statement.
I had Visual Studio 2017 open in a VB.Net Winform Project and just typed "REM This is a comment" and what the elephant it went green and thus was treated as a comment statement. I was shocked. Never knew that you could do that.
OK that was just after the class declaration so tried it within the code and the intellisense wouldn't allow it.
Wanting to and changing it to RemoveHandler as soon as you entered the space after the REM.
However If I pasted it there it would immediately accept it as a comment statement.
I can understand that there is some requirement for backward compatibility, but, really, this is ridiculous.
However sort of historically wonderful as well.
So I also opened up a C# project and tried some old C stuff and this is also in there.
/* this is a
It all turned green.
It is actually better than just typing // on every line as it auto inserts the * until you terminate it with a */
This was accepted any where I typed it. Didn't know about this either.
Again seems a bit ridiculous but sort of nice.
Sometimes you learn from doing daft things.
(Maybe everyone else knew about this. I didn't)
"Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980