[plt-scheme] with-input-from-file

From: wooks . (wookiz at hotmail.com)
Date: Tue Mar 9 06:27:10 EST 2010

> 
> Ok, what happens in #lang scheme?  In #lang scheme is the file listed
> by directory-list? (I strongly suspect that file doesn't exist or is
> not readable.)
> 
Ah hah...... understood what I was supposed to do now. (directory-list) is calling the file numbers.txt.txt ...... 
thats not what the file is called. It's put an extra .txt suffix on it.
(#<path:array-max.ss> #<path:arrays.ss> #<path:bubblesort.ss> #<path:fib-it.ss> #<path:files.ss> #<path:HTDP> #<path:maxi.ss> #<path:min-of-array.ss> #<path:numbers.txt.txt> #<path:pascal.ss> #<path:sum-console.ss>). . with-input-from-file: cannot open input file: "C:\Documents and Settings\Admin\My Documents\Scheme\numbers.txt" (The system cannot find the file specified.; errno=2) 		 	   		  
_________________________________________________________________
Do you have a story that started on Hotmail? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100309/3fd8dfd1/attachment.html>

Posted on the users mailing list.