[plt-scheme] Test the Program
Actually, I think I know what you're doing and it's an easy mistake to make...
The "Run" button runs the *Definitions* pane and erases everything in
the Interactions pane.
If you want to evaluate something in the Interactions pane, DON'T
CLICK RUN! Just press the enter key. You have no idea how many
students get really frustrated by this experience--"I keep typing
something and clicking Run and it just disappears."--so you're not
alone.
Todd
On Wed, Sep 2, 2009 at 4:06 PM, Asher, Gregg<gregg.asher at mnsu.edu> wrote:
> I apologize if this question has been asked before. I checked the archives
> and couldn’t find my problem listed.
>
>
>
> When I define a program in the definitions window and then enter the program
> name in the interactive window substituting a value for the parameter and
> then “Run” (my version of Dr. Scheme doesn’t have an ”Execute” button) the
> program I don’t the results of the program but a message “This program
> should be tested.
>
>>”
>
>
>
> For example when I run this program (area-of-disk 3), I get the message
> “This program should be tested.
>
>>”
>
>
>
> When I run the same program (area-of-disk 3) in the definitions window
>
>
>
> I get the correct answer “28.26” in the interactive window.
>
>
>
> Any help would be appreciated.
>
>
>
> Dr. Scheme is running off of a flash drive if that makes any difference. I
> have 60 programming students and want them to run Dr. Scheme from the flash
> drive so that they can run the program from any computer.
>
>
>
> Gregg W. Asher, Ph.D.
>
> Associate professor
>
> Information Systems & Technology
>
> Minnesota State University, Mankato
>
> Mankato, MN. 56001
>
>
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>