[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXPLODE/IMPLODE equivalents



Juan Jordana Jord writes:
> 
> 
> Is there any CLISP equivalent to the atom manipulating functions
> IMPLODE and EXPLODE ??
> (also ATOMCAR seems undefined even though readline shows it )
CLISP has strings as first class objects, therefore IMPLODE and EXPLODE
are not required. To get at the characters in a symbol use princ-to-string
and then elt. To create a symbol from a string use read-from-string.
to stick characters together, either use a string array with a fill
pointer or use concatenate.


nathan
-- 
Nathan Sidwell                         Holder of the Xmris home page
Chameleon Architecture Group at SGS-Thomson, formerly Inmos
http://www.pact.srf.ac.uk/~nathan/                  Tel 0117 9707182
nathan@pact.srf.ac.uk or nathan@inmos.co.uk or nathan@bristol.st.com