Click here to Skip to main content
15,895,709 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Ubuntu trial flash drive Pin
Mark_Wallace28-Aug-19 4:22
Mark_Wallace28-Aug-19 4:22 
GeneralRe: Ubuntu trial flash drive Pin
raddevus28-Aug-19 5:03
mvaraddevus28-Aug-19 5:03 
GeneralRe: Ubuntu trial flash drive Pin
Scott Serl28-Aug-19 6:51
Scott Serl28-Aug-19 6:51 
GeneralRe: Ubuntu trial flash drive Pin
raddevus28-Aug-19 8:58
mvaraddevus28-Aug-19 8:58 
GeneralRe: Ubuntu trial flash drive Pin
Nelek28-Aug-19 10:19
protectorNelek28-Aug-19 10:19 
GeneralRe: Ubuntu trial flash drive Pin
theoldfool28-Aug-19 6:44
professionaltheoldfool28-Aug-19 6:44 
GeneralRe: Ubuntu trial flash drive Pin
raddevus28-Aug-19 8:56
mvaraddevus28-Aug-19 8:56 
GeneralLearning New things from stupid messing around..... Pin
grralph128-Aug-19 1:58
grralph128-Aug-19 1:58 
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.

Tried
/* this is a
* comment
*/

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

GeneralRe: Learning New things from stupid messing around..... Pin
raddevus28-Aug-19 2:08
mvaraddevus28-Aug-19 2:08 
GeneralRe: Learning New things from stupid messing around..... Pin
CodeWraith28-Aug-19 2:42
CodeWraith28-Aug-19 2:42 
GeneralRe: Learning New things from stupid messing around..... Pin
grralph128-Aug-19 3:14
grralph128-Aug-19 3:14 
GeneralRe: Learning New things from stupid messing around..... Pin
Peter_in_278028-Aug-19 2:54
professionalPeter_in_278028-Aug-19 2:54 
GeneralRe: Learning New things from stupid messing around..... Pin
grralph128-Aug-19 3:10
grralph128-Aug-19 3:10 
GeneralRe: Learning New things from stupid messing around..... Pin
  Forogar  28-Aug-19 3:16
professional  Forogar  28-Aug-19 3:16 
GeneralRe: Learning New things from stupid messing around..... Pin
#realJSOP28-Aug-19 2:11
mve#realJSOP28-Aug-19 2:11 
GeneralRe: Learning New things from stupid messing around..... Pin
grralph128-Aug-19 3:25
grralph128-Aug-19 3:25 
GeneralRe: Learning New things from stupid messing around..... Pin
Sander Rossel28-Aug-19 2:52
professionalSander Rossel28-Aug-19 2:52 
AnswerRe: Learning New things from stupid messing around..... Pin
megaadam28-Aug-19 3:03
professionalmegaadam28-Aug-19 3:03 
GeneralRe: Learning New things from stupid messing around..... Pin
Sander Rossel28-Aug-19 3:22
professionalSander Rossel28-Aug-19 3:22 
GeneralRe: Learning New things from stupid messing around..... Pin
grralph128-Aug-19 3:22
grralph128-Aug-19 3:22 
GeneralRe: Learning New things from stupid messing around..... Pin
Mark_Wallace28-Aug-19 7:21
Mark_Wallace28-Aug-19 7:21 
GeneralRe: Learning New things from stupid messing around..... Pin
Member 916705728-Aug-19 20:36
Member 916705728-Aug-19 20:36 
GeneralRe: Learning New things from stupid messing around..... Pin
BryanFazekas29-Aug-19 0:54
BryanFazekas29-Aug-19 0:54 
GeneralRe: Learning New things from stupid messing around..... Pin
obermd29-Aug-19 4:57
obermd29-Aug-19 4:57 
GeneralWSO-CCC-OTD-2019-08-28 Pin
Richard MacCutchan28-Aug-19 0:01
mveRichard MacCutchan28-Aug-19 0:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.