Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 03-20-2006, 09:55 AM   #1 (permalink)
coolman
Registered User
 
Join Date: Mar 2006
Posts: 25
coolman is on a distinguished road
list within in a list (lisp)

ok guys y does dis dont work (defparameter *car* (Ford (Fieata Mondeo Focus)))

so wat i am trying to say that ford is a list and within dat list there a fieasta and moneo and focus

but when i ran it in Lisp it dont work so wat wrong with it
coolman is offline   Reply With Quote
Old 03-20-2006, 09:42 PM   #2 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 596
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
you want (defparameter *car* '(Ford (Fieata Mondeo Focus)))
or (defparameter *car* (list 'Ford (list 'Fieata 'Mondeo 'Focus)))

Actually, reading your post it looks like you want the symbol FORD to have a value of (list 'Fieata 'Mondeo 'Focus), which would imply (setf FORD (list 'Fieata 'Mondeo 'Focus)) .
__________________
Stop intellectual property from infringing on me

Last edited by teknomage1; 03-20-2006 at 10:12 PM.
teknomage1 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help in Lisp sorting coolman All Other Coding Languages 8 03-21-2006 12:48 PM
Help Optimizing a Tokenizer in Lisp teknomage1 All Other Coding Languages 1 11-08-2005 07:44 PM
Linked List Constructor help... fp_unit Standard C, C++ 6 01-31-2005 03:23 PM
linked list problem if13121 Standard C, C++ 3 11-12-2004 08:58 AM


All times are GMT -8. The time now is 02:01 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting