LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-31-2006, 07:23 AM   #1
beginner54
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
Please Help -Scheme Programming Question


Hi
I want to thank everyone here for the wealth of information given me about where to go for more information on Scheme.

I am stuck on the following:

Develop a function, "self-description," which takes your name and returns the description:
My name is SOME-NAME and I am a student


I have tried this - I know I am way off

(string-append "My name is " ("Chris") " I am a
student " )

i WOULD APPRECIATE ANY HELP ON THIS

Thanks
EVERYONE IS GREAT HERE
 
Old 03-31-2006, 10:02 AM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,784

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Instead of ("Chris") you want a function parametre. And may I ask why you have brackets around "Chris"? It's not a function after all.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheme Programming Questions- I am sorry the way it was said. beginner54 Programming 8 03-31-2006 07:26 AM
Scheme programming poeta_boy Programming 39 03-30-2006 11:14 AM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 02:02 PM
Scheme Question oulevon Programming 7 07-17-2003 09:04 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration