compile improperly succeeded

View: New views
3 Messages — Rating Filter:   Alert me  

compile improperly succeeded

by Jude DaShiell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When I used Console.Read() with the chr() function the compile succeeded
and worked.  When I changed Console.Read() to Console.ReadKey() though I
got a program that improperly compiled and blew up with an exception when
it ran.  A compiler consistency check was said to have failed that way
too. Does a chr() function exist to pair with Console.ReadKey() or is that
just a function not to be used with chr()?

_______________________________________________
Mono-vb mailing list
Mono-vb@...
http://lists.ximian.com/mailman/listinfo/mono-vb

Re: compile improperly succeeded

by Rolf Bjarne Kvinge-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Thanks for reporting the compiler bug.

For information about Console.ReadKey have a look at:
http://msdn.microsoft.com/en-us/library/471w8d85.aspx

Rolf

> -----Original Message-----
> From: mono-vb-bounces@... [mailto:mono-vb-
> bounces@...] On Behalf Of Jude DaShiell
> Sent: miƩrcoles, 01 de julio de 2009 11:43
> To: mono-vb@...
> Subject: [mono-vb] compile improperly succeeded
>
> When I used Console.Read() with the chr() function the compile
> succeeded
> and worked.  When I changed Console.Read() to Console.ReadKey() though
> I
> got a program that improperly compiled and blew up with an exception
> when
> it ran.  A compiler consistency check was said to have failed that way
> too. Does a chr() function exist to pair with Console.ReadKey() or is
> that
> just a function not to be used with chr()?
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb@...
> http://lists.ximian.com/mailman/listinfo/mono-vb

_______________________________________________
Mono-vb mailing list
Mono-vb@...
http://lists.ximian.com/mailman/listinfo/mono-vb

Re: compile improperly succeeded

by Jude DaShiell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I didn't include Imports Microsoft.VisualBasic in that code so that's
probably one reason I got the unhandled exception when I tried to run it.



On Wed, 1 Jul 2009, Rolf Bjarne Kvinge wrote:

> Hi,
>
> Thanks for reporting the compiler bug.
>
> For information about Console.ReadKey have a look at:
> http://msdn.microsoft.com/en-us/library/471w8d85.aspx
>
> Rolf
>
>> -----Original Message-----
>> From: mono-vb-bounces@... [mailto:mono-vb-
>> bounces@...] On Behalf Of Jude DaShiell
>> Sent: miƩrcoles, 01 de julio de 2009 11:43
>> To: mono-vb@...
>> Subject: [mono-vb] compile improperly succeeded
>>
>> When I used Console.Read() with the chr() function the compile
>> succeeded
>> and worked.  When I changed Console.Read() to Console.ReadKey() though
>> I
>> got a program that improperly compiled and blew up with an exception
>> when
>> it ran.  A compiler consistency check was said to have failed that way
>> too. Does a chr() function exist to pair with Console.ReadKey() or is
>> that
>> just a function not to be used with chr()?
>>
>> _______________________________________________
>> Mono-vb mailing list
>> Mono-vb@...
>> http://lists.ximian.com/mailman/listinfo/mono-vb
>
>
_______________________________________________
Mono-vb mailing list
Mono-vb@...
http://lists.ximian.com/mailman/listinfo/mono-vb