Google Groups Home
Help | Sign in
Message from discussion scheme coding help...
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
tem0...@yahoo.com  
View profile
 More options Mar 26, 5:13 pm
Newsgroups: comp.lang.scheme
From: tem0...@yahoo.com
Date: Wed, 26 Mar 2008 14:13:42 -0700 (PDT)
Local: Wed, Mar 26 2008 5:13 pm
Subject: scheme coding help...
Just a couple questions about scheme, thanks for all your help in
advance.

Say for example, you have a file with one line of text in it.
How would you go about doing the following:
Take the file name as a command line argument
Retrieve the first and only line of the file
Place the line into a list with each word as separate elements

Just to clarify,
Say the user wants to access a file in the current working directory
with the name "sample.txt"
And inside the file is a line of text that looks just like a list such
as:
        (This is a list of elements)
How would u parse that text into a list that looks just like it?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google