[plt-scheme] Re: Please help : How do i add contents from user to a user defined list

From: abduls85 (abduls85 at gmail.com)
Date: Fri Feb 19 10:12:15 EST 2010

I have figured it out :). Please ignore post

On Feb 19, 10:19 pm, abduls85 <abdul... at gmail.com> wrote:
> Hi Guys,
>
> I am trying to add content into a user-defined list within a loop, but
> no matter what i try it is not working. Please help. Any help provided
> will be greatly appericiated
>
> (define Grades(list)); TotalAU is a list that stores all the AU
> according to module
>
> (display "Please enter the number of module taken in the semester: ")
>   (newline)
>   (let ((Modules(read)))
> (do ((i 0 (+ i 1)))
>       ((= i Modules) )
>       ; User will enter all his grades
>       ; Need to store into the list Grades
>       (display "Please enter your grade: ")
>       (newline)
>       (Grade(read))
>       ;Need help to proceed after this
>      )
> _________________________________________________
>   For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.