|
From: | Matt Gushee |
Subject: | Re: [Chicken-users] Create and write to a file |
Date: | Sat, 3 Oct 2015 01:34:52 -0600 |
Here's what I have so far that throws a 'lambda-list expected' error. NOTE: I tried a format without the lambda part as well:...
(display "How many digits of Pi to compute?\n ")
(define digits (read))
(display "Here you go: \n")
(format #t (number->string (pich digits)))
(define (write-to-a-file "c:/users/robert/desktop/Chicken-IPU-Examples/pidigits.txt" (lambda () (format #t "~A~%" (number->string(pigud num))))))
[Prev in Thread] | Current Thread | [Next in Thread] |