>>>>> "G" == GGarramuno  <GGarramuno / aol.com> writes:

G>         while $stdin.getc != "a"

 getc return a Fixnum, not a String

Guy Decoux