>    When I've read everything up to the score (using scanblack/scanwhite),
> and then do "read(line,awayscore)" the program hangs (using read now, as I
> want to read the number and not a word).

   P.S. "awayscore" IS defined as an integer, in case anyone is going to
ask me if I've defined it correctly. "scanblack" returns a string, so I
don't know how to return a number when required ("read(line,awayscore)"
not working was un-expected - I guess maybe you can't read a number from
a string, only from standard input/text file).

dp.


_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to