[plt-scheme] Reading a comma?

From: dvanhorn at emba.uvm.edu (dvanhorn at emba.uvm.edu)
Date: Wed Jan 8 21:08:18 EST 2003

Quoting Jeanette A Auer <auerja at cs.latrobe.edu.au>:
 
> I need to read an input file that has commas in it at the end of each 
> line. Of course (read ...) where the ... is a comma evaluates to ignore 
> this as it is a comment.  

(read-line ...) will give you each line as a string.

HTH

-David



Posted on the users mailing list.