Hey ho,

First post to the list, so I'm hoping I won't make too much of a fool 
out of myself.

Every once in a while, I suddenly think that yes, I too can be a 
programmer. In that spirit, I've piled up a nice bunch of beginner 
books, the most recent of them being "Learning C#". The fact that I 
tend to be unable to do something useful with the basic knowledge I 
gathered is totally irrelevant here. Maybe I should start buying 
intermediate books, for a start.

My question being, however: when I initialize a const int to a certain 
int value, and later on reassign it, Mono merrily tells me that 
compilation succeeded. Like so:

const int meh = 5;
meh = 10;

Kind of unexpected... :-/ The only post mentioning something at least 
quite similar, is that of Jonathan Stowe in April 2002 [1]. Apart from 
that, I can't seem to find anything related to Mono not being capable 
of pointing me to the most basic of mistakes.

Could someone give me a clue? Or is it supposed to be that way? I didn't 
find any bugs either, but that might be just me...

Cheers,
Tom

[1] lists.ximian.com/archives/public/mono-list/2002-April/004801.html

-- 
key: http://tmp.verbreyt.be/files/abwaerts.asc

Attachment: pgpxNYpBoQIHv.pgp
Description: PGP signature

Reply via email to