[Mono-list] Console.ReadLine

Jonathan Stowe gellyfish@gellyfish.com
Sun, 12 May 2002 18:40:59 +0100 (BST)


On Sun, 12 May 2002, Stefan Matthias Aust wrote:
> From: "Jackson Harper" <jrhwork@hotmail.com>
>
> > Have the Console.Read* functions been implemented yet?
>
> The program below works for me - so I guess, at least ReadLine() is
> implemented.
>
>  using System;
>  class x {
>   public static void Main() {
>    Console.WriteLine(Console.ReadLine());
>   }
>  }
>

I guess it must be a platform thing because I get :

(process:20148): ** WARNING **: console_read: error looking up console
handle 0x3

(process:20148): ** ERROR **: file unicode.c: line 437
(ves_icall_iconv_get_char_count): assertion failed: (mono_array_length
(bytes) >= (idx + count))
aborting...
Trace/breakpoint trap (core dumped)

On Linux orpheus.gellyfish.com 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000
i686 unknown


/J\
 --
Jonathan Stowe                      |
<http://www.gellyfish.com>          |      This space for rent
                                    |