logo
Toggle navigation
Begin main navigation
About
Projects
Download
Documentation
Wiki
Forums
Log In
Go!
OpenACS – The Toolkit for Online Communities
:
Forums
:
OpenACS Development
:
set foo [list bar] vs. lset foo {bar}
: One Message
Begin main content
Forum OpenACS Development: Re: set foo [list bar] vs. lset foo {bar}
Search:
Back to OpenACS Development
2
:
Re: set foo [list bar] vs. lset foo {bar}
(response to
1
)
Posted by
Anett Szabo
on
07/05/07 07:18 PM
Using lset gives you the opportunity to insert elements at a given position and work with positions within a list in general.
3
:
Re: set foo [list bar] vs. lset foo {bar}
(response to
2
)
Posted by
Anett Szabo
on
07/05/07 07:20 PM
For example you can use:
lset x end-1 j => {a b c} j {g h i}
Back to OpenACS Development