[plt-scheme] Problems with the require expression in PLT-Scheme 4.0
Dear Jens,
In answer to your questions,
*1. Have you chosen the "module" language?
Yes I choose the "module" langauage.
* 2. Are you using version 1.1 of sicp.plt ?
*Tried 1.0 and 1.1 - with same result.
* 3. Which file and line does the error "string->number: expects argument
of type <string>; given #f"
refer to?
*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.
* 4. Which platform are you using?
* I am using Windows-XP Pro with Service Pack 2.*
Regards,
Joshua Ewulo
2008/6/17 Jens Axel Soegaard <jensaxel at soegaard.net>:
>
> 2008/6/16 Stephen De Gabrielle <stephen at degabrielle.name <mailto:
>> stephen at degabrielle.name>>:
>>
>> Sorry, I can't replicate your error.
>>
>> your require works fine for me in a two-line consisting of
>> #lang scheme
>> (require (planet "sicp.ss" ("soegaard" "sicp.plt" 1 0)))
>>
>> Does the two-liner work for you?
>>
>> Ewulo wrote:
>
> > Nope it did not work, re-installed everything again but still no show;
> also tried all language settings and no luck.
>
> > I do not actually understand the what the error means
> > "string->number: expects argument of type <string>; given #f"
>
> > Are you using 4.0?
>
> I just tried the following in v400 without any problems.
>
> > (require (planet "sicp.ss" ("soegaard" "sicp.plt" 1 1)))
> > (paint (number->painter 0))
> > (paint diagonal-shading)
> > (paint-hires (below (beside diagonal-shading
> (rotate90 diagonal-shading))
> (beside (rotate270 diagonal-shading)
> (rotate180 diagonal-shading))))
> > (paint einstein)
>
> Ewulo, just checking:
> 1. Have you chosen the "module" language?
> 2. Are you using version 1.1 of sicp.plt ?
> 3. Which file and line does the error "string->number: expects argument of
> type <string>; given #f"
> refer to?
> 4. Which platform are you using?
>
> --
> Jens Axel Søgaard
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080617/25a60547/attachment.html>