Dear Jens,<br><br>In answer to your questions,<br><br>
<i>1. Have you chosen the "module" language?<br>Yes I choose the "module" langauage.<br><br></i>
2. Are you using version 1.1 of sicp.plt ?<br><i>Tried 1.0 and 1.1 - with same result.<br><br></i>
3. Which file and line does the error "string->number: expects argument of type <string>; given #f"<br>
refer to?<br><i>I think it refers to the (require (planet "sicp.ss" ("soegaard" "sicp.plt" 1 1))) expression itself, it does not explicitly state a file name nor line number. When I remove this line the functions within the package are not referenceable.<br>
<br></i>
4. Which platform are you using?<br><i><font color="#888888">
</font>I am using Windows-XP Pro with Service Pack 2.</i><br><br>Regards,<br>Joshua Ewulo<br><div class="gmail_quote">2008/6/17 Jens Axel Soegaard <<a href="mailto:jensaxel@soegaard.net">jensaxel@soegaard.net</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2008/6/16 Stephen De Gabrielle <<a href="mailto:stephen@degabrielle.name" target="_blank">stephen@degabrielle.name</a> <mailto:<a href="mailto:stephen@degabrielle.name" target="_blank">stephen@degabrielle.name</a>>>:<div class="Ih2E3d">
<br>
<br>
Sorry, I can't replicate your error.<br>
<br>
your require works fine for me in a two-line consisting of<br>
#lang scheme<br>
(require (planet "sicp.ss" ("soegaard" "sicp.plt" 1 0)))<br>
<br>
Does the two-liner work for you?<br>
<br>
</div></blockquote><div class="Ih2E3d">
Ewulo wrote:<br>
<br>
> Nope it did not work, re-installed everything again but still no show; also tried all language settings and no luck.<br>
<br>
> I do not actually understand the what the error means<br>
> "string->number: expects argument of type <string>; given #f"<br>
<br>
> Are you using 4.0?<br>
<br></div>
I just tried the following in v400 without any problems.<br>
<br>
> (require (planet "sicp.ss" ("soegaard" "sicp.plt" 1 1)))<br>
> (paint (number->painter 0))<br>
> (paint diagonal-shading)<br>
> (paint-hires (below (beside diagonal-shading<br>
(rotate90 diagonal-shading))<br>
(beside (rotate270 diagonal-shading)<br>
(rotate180 diagonal-shading))))<br>
> (paint einstein)<br>
<br>
Ewulo, just checking:<br>
1. Have you chosen the "module" language?<br>
2. Are you using version 1.1 of sicp.plt ?<br>
3. Which file and line does the error "string->number: expects argument of type <string>; given #f"<br>
refer to?<br>
4. Which platform are you using?<br><font color="#888888">
<br>
-- <br>
Jens Axel Søgaard<br>
<br>
<br>
<br>
<br>
</font></blockquote></div><br>