[plt-scheme] Re: newbie:howto use package=control.plt&owner=soegaard

From: Larry Evans (cppljevans at suddenlink.net)
Date: Mon Jun 16 10:30:17 EDT 2008

On 06/16/08 09:04, Noel Welsh wrote:
> On Mon, Jun 16, 2008 at 2:31 PM, Larry Evans <cppljevans at suddenlink.net> wrote:
>> Sure.  I switched the lang=Module, entered:
>>
>>    (require (planet "control.scm" ("soegaard" "control.plt" 1 2)))
>>
>> in the definitions window, and here's the output in the interactions window
>> after hitting run:
>>
>>    module-language: only module expressions are allowed in: (require
>>     (planet "control.scm" ("soegaard" "control.plt" 1 2)))
>>    >
>>
>> Is that better?
> 
> Yes.  You need a module declaration like
> 
>   #lang scheme

Thanks.

> 
> at the top of the file.  But see my first point -- this package is redundant.
> 

I need the statement labels to emulate fortran code.  I'm interested in
trying to implement the algorithm described in the reference:

   http://citeseer.ist.psu.edu/62170.html

In particular, there's code that has goto's into a fortran
do loop and prematurely exiting that same loop from 1 or
more points.  It's in the spice program (somewhere, I'm not sure where).

http://bwrc.eecs.berkeley.edu/Classes/icbook/SPICE/



Posted on the users mailing list.