Hi Adam,
thanks for you reply but maybe i wasn't clear enough
There's no trouble for me creating any list.
The problem is that i need the contents of the list in another application.
example: now i have:
(setf *option-list* (1,1 2,2 3,3 4,4 ....)
COMMAND (OPTION *option-list*)
but i have to get rid of the hooks and make the result like
COMMAND (OPTION 1,1 1,2 1,3 1,4 .....) and not like
COMMAND (OPTION (1,1 1,2 1,3 1,4 .....))
Thanks again
··········@chello.nl wrote:
> Hi Adam,
>
> thanks for you reply but maybe i wasn't clear enough
> There's no trouble for me creating any list.
> The problem is that i need the contents of the list in another application.
> example: now i have:
> (setf *option-list* (1,1 2,2 3,3 4,4 ....)
> COMMAND (OPTION *option-list*)
> but i have to get rid of the hooks and make the result like
> COMMAND (OPTION 1,1 1,2 1,3 1,4 .....) and not like
> COMMAND (OPTION (1,1 1,2 1,3 1,4 .....))
What Lisp is this? It doesn't look like Common Lisp...
Pascal
--
Pascal Costanza University of Bonn
···············@web.de Institute of Computer Science III
http://www.pascalcostanza.de R�merstr. 164, D-53117 Bonn (Germany)
Hi j.boonstr,
> Hi Adam,
>
> thanks for you reply but maybe i wasn't clear enough
> There's no trouble for me creating any list.
> The problem is that i need the contents of the list in another application.
> example: now i have:
> (setf *option-list* (1,1 2,2 3,3 4,4 ....)
So what type of Lisp doesn't use QUOTE (') nor brackets to denote
nested lists?
> COMMAND (OPTION *option-list*)
> but i have to get rid of the hooks and make the result like
> COMMAND (OPTION 1,1 1,2 1,3 1,4 .....) and not like
> COMMAND (OPTION (1,1 1,2 1,3 1,4 .....))
In Common Lisp one uses APPEND:
(append '(OPTION) '("1,1" "1,2" "1,3" "1,4"))
(OPTION "1,1" "1,2" "1,3" "1,4")
Regards,
Adam